rust/library/alloc/Cargo.toml

39 lines
1.0 KiB
TOML
Raw Normal View History

[package]
name = "alloc"
version = "0.0.0"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/rust.git"
description = "The Rust core allocation and collections library"
2018-05-10 13:02:19 -05:00
autotests = false
autobenches = false
edition = "2021"
[dependencies]
2020-06-11 21:31:49 -05:00
core = { path = "../core" }
compiler_builtins = { version = "0.1.40", features = ['rustc-dep-of-std'] }
2017-06-13 17:52:59 -05:00
[dev-dependencies]
rand = { version = "0.8.5", default-features = false, features = ["alloc"] }
rand_xorshift = "0.3.0"
2017-06-13 17:52:59 -05:00
[[test]]
name = "collectionstests"
2020-06-11 21:31:49 -05:00
path = "tests/lib.rs"
2017-06-13 17:52:59 -05:00
[[bench]]
name = "collectionsbenches"
2020-06-11 21:31:49 -05:00
path = "benches/lib.rs"
2020-06-08 11:09:21 -05:00
test = true
2018-08-10 14:52:00 -05:00
[[bench]]
name = "vec_deque_append_bench"
2020-06-11 21:31:49 -05:00
path = "benches/vec_deque_append.rs"
2018-08-10 14:52:00 -05:00
harness = false
[features]
compiler-builtins-mem = ['compiler_builtins/mem']
compiler-builtins-c = ["compiler_builtins/c"]
2020-12-09 13:48:08 -06:00
compiler-builtins-no-asm = ["compiler_builtins/no-asm"]
compiler-builtins-mangled-names = ["compiler_builtins/mangled-names"]
compiler-builtins-weak-intrinsics = ["compiler_builtins/weak-intrinsics"]