load("@fbcode_macros//build_defs:rust_library.bzl", "rust_library") oncall("sapling") rust_library( name = "nonblocking", srcs = glob(["src/**/*.rs"]), autocargo = {"cargo_toml_config": { "lib": {"name": "nonblocking"}, "package": { "authors": ["Meta Source Control Team "], "description": "Call non-blocking async Rust from non-async Rust.", "homepage": "https://sapling-scm.com/", "license": "MIT", "name": "sapling-nonblocking", "repository": "https://github.com/facebook/sapling", }, }}, crate_root = "src/lib.rs", test_deps = [ "fbsource//third-party/rust:futures", ], )