srctree

Robin Linden parent 88e62c05 e3d34bb2
deps: Add tl::expected

We'll replace this with std::expected once our compilers have implemented more of C++23.
WORKSPACE added: 19, removed: 2, total 17
@@ -67,6 +67,14 @@ http_archive(
url = "https://github.com/hanickadot/compile-time-regular-expressions/archive/v3.7.1.tar.gz",
)
 
http_archive(
name = "expected", # CC0-1.0
build_file = "//third_party:expected.BUILD",
sha256 = "67b4216c80eae2959222a5da93bb58839ebef0ed37f3c402b930fa5b263244f9",
strip_prefix = "expected-3e304a4bdd00feef8d41f5b388c37bd9d6108025",
url = "https://github.com/tartanllama/expected/archive/3e304a4bdd00feef8d41f5b388c37bd9d6108025.tar.gz",
)
 
http_archive(
name = "fmt", # MIT
build_file = "//third_party:fmt.BUILD",
 
filename was Deleted added: 19, removed: 2, total 17
@@ -0,0 +1,9 @@
load("@rules_cc//cc:defs.bzl", "cc_library")
 
cc_library(
name = "expected",
hdrs = ["include/tl/expected.hpp"],
includes = ["include/"],
strip_include_prefix = "include",
visibility = ["//visibility:public"],
)