# @generated by `cargo buckal`
load("@buckal//:cargo_manifest.bzl", "cargo_manifest")
load("@buckal//:wrapper.bzl", "rust_library")
http_archive(
name = "allocator-api2-vendor",
urls = ["https://static.crates.io/crates/allocator-api2/allocator-api2-0.2.21.crate"],
sha256 = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923",
type = "tar.gz",
strip_prefix = "allocator-api2-0.2.21",
out = "vendor",
)
cargo_manifest(
name = "allocator-api2-manifest",
vendor = ":allocator-api2-vendor",
)
rust_library(
name = "allocator-api2",
srcs = [":allocator-api2-vendor"],
crate = "allocator_api2",
crate_root = "vendor/src/lib.rs",
edition = "2018",
features = ["alloc"],
rustc_flags = ["@$(location :allocator-api2-manifest[env_flags])"],
visibility = ["PUBLIC"],
)