1cargo-features = ["public-dependency"]
2
3[package]
4name = "alloc"
5version = "0.0.0"
6license = "MIT OR Apache-2.0"
7repository = "https://github.com/rust-lang/rust.git"
8description = "The Rust core allocation and collections library"
9autotests = false
10autobenches = false
11edition = "2024"
12
13[lib]
14test = false
15bench = false
16
17[dependencies]
18core = { path = "../core", public = true }
19compiler_builtins = { path = "../compiler-builtins/compiler-builtins", features = ["rustc-dep-of-std"] }
20
21[features]
22compiler-builtins-mem = ['compiler_builtins/mem']
23compiler-builtins-c = ["compiler_builtins/c"]
24# Choose algorithms that are optimized for binary size instead of runtime performance
25optimize_for_size = ["core/optimize_for_size"]
26
27[lints.rust.unexpected_cfgs]
28level = "warn"
29check-cfg = [
30 'cfg(no_global_oom_handling)',
31 'cfg(no_rc)',
32 'cfg(no_sync)',
33]
34