static_interner 0.1.1

Similar to `internment` crate, but with interface and performance tweaks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
load("@fbcode_macros//build_defs:rust_library.bzl", "rust_library")
load("@fbsource//tools/build_defs:glob_defs.bzl", "glob")

oncall("build_infra")

rust_library(
    name = "static_interner",
    srcs = glob(["src/**/*.rs"]),
    crate_root = "src/lib.rs",
    deps = [
        "fbsource//third-party/rust:equivalent",
        "//buck2/allocative/allocative:allocative",
        "//buck2/gazebo/dupe:dupe",
        "//buck2/shed/lock_free_hashtable:lock_free_hashtable",
    ],
)