load("@fbcode_macros//build_defs:rust_library.bzl", "rust_library") oncall("sapling") rust_library( name = "tree-pattern-match", srcs = glob(["src/**/*.rs"]), autocargo = {"cargo_toml_config": { "lib": {"name": "tree-pattern-match"}, "package": { "authors": ["Meta Source Control Team "], "description": "Pattern match for tree structures.", "homepage": "https://sapling-scm.com/", "license": "MIT", "name": "sapling-tree-pattern-match", "repository": "https://github.com/facebook/sapling", }, }}, crate_root = "src/lib.rs", deps = [ "fbsource//third-party/rust:bitflags", ], )