load("@fbcode_macros//build_defs:rust_library.bzl", "rust_library") oncall("sapling") rust_library( name = "dag-types", srcs = glob(["src/**/*.rs"]), autocargo = {"cargo_toml_config": { "dependencies_override": {"dependencies": { "abomonation": {"features": []}, "sapling-minibytes": { "default-features": False, "features": [], }, }}, "features": { "for-tests": ["quickcheck"], "serialize-abomonation": ["abomonation"], }, "lib": {"name": "dag-types"}, "package": { "authors": ["Meta Source Control Team "], "description": "A subset of types used by sapling-dag", "homepage": "https://sapling-scm.com/", "license": "MIT", "name": "sapling-dag-types", "repository": "https://github.com/facebook/sapling", }, }}, crate_root = "src/lib.rs", features = [ "for-tests", "serialize-abomonation", ], test_deps = [ "fbsource//third-party/rust:quickcheck", ], deps = [ "fbsource//third-party/rust:abomonation", "fbsource//third-party/rust:abomonation_derive", "fbsource//third-party/rust:quickcheck", "fbsource//third-party/rust:serde", "//eden/scm/lib/minibytes:minibytes", ], )