load("@fbsource//tools/build_defs:rust_library.bzl", "rust_library")
oncall("build_infra")
rust_library(
name = "pagable",
srcs = glob(
["src/**/*.rs"],
),
crate_root = "src/lib.rs",
features = select({
"DEFAULT": ["tokio"],
# @oss-disable[end= ]: "ovr_config//runtime/constraints:wasm": [],
}),
deps = [
"fbsource//third-party/rust:anyhow",
"fbsource//third-party/rust:async-trait",
"fbsource//third-party/rust:blake3",
"fbsource//third-party/rust:bytemuck",
"fbsource//third-party/rust:dashmap",
"fbsource//third-party/rust:either",
"fbsource//third-party/rust:erased-serde",
"fbsource//third-party/rust:fancy-regex",
"fbsource//third-party/rust:indexmap",
"fbsource//third-party/rust:inventory",
"fbsource//third-party/rust:num-bigint",
"fbsource//third-party/rust:once_cell",
"fbsource//third-party/rust:parking_lot",
"fbsource//third-party/rust:postcard",
"fbsource//third-party/rust:regex",
"fbsource//third-party/rust:sequence_trie",
"fbsource//third-party/rust:serde",
"fbsource//third-party/rust:serde_json",
"fbsource//third-party/rust:smallvec",
"fbsource//third-party/rust:static_assertions",
"fbsource//third-party/rust:take_mut",
"fbsource//third-party/rust:tokio",
"fbsource//third-party/rust:triomphe",
"//buck2/allocative/allocative:allocative",
"//buck2/gazebo/dupe:dupe",
"//buck2/gazebo/strong_hash:strong_hash",
"//buck2/pagable_derive:pagable_derive",
"//buck2/shed/static_interner:static_interner",
"//common/rust/shed/sorted_vector_map:sorted_vector_map",
],
)