load("@fbcode_macros//build_defs:rust_library.bzl", "rust_library") oncall("sapling") rust_library( name = "lazystr", srcs = glob(["src/**/*.rs"]), autocargo = {"cargo_toml_config": { "lib": {"name": "lazystr"}, "package": { "authors": ["Meta Source Control Team "], "description": "Thin abstraction for maybe lazily generated str.", "homepage": "https://sapling-scm.com/", "license": "MIT", "name": "sapling-lazystr", "repository": "https://github.com/facebook/sapling", }, }}, crate_root = "src/lib.rs", )