2025-01-28 22:25:23 +00:00
|
|
|
cargo-features = ["public-dependency"]
|
|
|
|
|
|
2016-01-21 15:19:23 -08:00
|
|
|
[package]
|
|
|
|
|
name = "alloc"
|
|
|
|
|
version = "0.0.0"
|
2021-02-20 13:18:01 -05:00
|
|
|
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 12:02:19 -06:00
|
|
|
autotests = false
|
|
|
|
|
autobenches = false
|
2025-02-11 15:20:06 -08:00
|
|
|
edition = "2024"
|
2016-01-21 15:19:23 -08:00
|
|
|
|
2025-02-06 12:46:33 +00:00
|
|
|
[lib]
|
|
|
|
|
test = false
|
|
|
|
|
bench = false
|
|
|
|
|
|
2016-01-21 15:19:23 -08:00
|
|
|
[dependencies]
|
2025-01-28 22:25:23 +00:00
|
|
|
core = { path = "../core", public = true }
|
2025-03-20 02:12:40 +00:00
|
|
|
compiler_builtins = { version = "=0.1.152", features = ['rustc-dep-of-std'] }
|
2017-06-13 15:52:59 -07:00
|
|
|
|
2018-12-14 09:05:31 -08:00
|
|
|
[features]
|
|
|
|
|
compiler-builtins-mem = ['compiler_builtins/mem']
|
2019-05-14 14:43:43 -07:00
|
|
|
compiler-builtins-c = ["compiler_builtins/c"]
|
2020-12-10 04:48:08 +09:00
|
|
|
compiler-builtins-no-asm = ["compiler_builtins/no-asm"]
|
2024-05-11 09:56:59 -04:00
|
|
|
compiler-builtins-no-f16-f128 = ["compiler_builtins/no-f16-f128"]
|
2020-10-28 07:54:30 +01:00
|
|
|
compiler-builtins-mangled-names = ["compiler_builtins/mangled-names"]
|
2023-10-25 19:46:06 -04:00
|
|
|
# Make panics and failed asserts immediately abort without formatting any message
|
2024-05-13 22:20:32 +02:00
|
|
|
panic_immediate_abort = ["core/panic_immediate_abort"]
|
2024-05-11 14:20:03 +02:00
|
|
|
# Choose algorithms that are optimized for binary size instead of runtime performance
|
2024-05-13 22:20:32 +02:00
|
|
|
optimize_for_size = ["core/optimize_for_size"]
|
2024-05-19 23:14:48 +00:00
|
|
|
|
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
|
|
|
level = "warn"
|
|
|
|
|
check-cfg = [
|
|
|
|
|
'cfg(bootstrap)',
|
2024-05-20 15:06:14 +00:00
|
|
|
'cfg(no_global_oom_handling)',
|
2024-05-19 23:14:48 +00:00
|
|
|
'cfg(no_rc)',
|
|
|
|
|
'cfg(no_sync)',
|
|
|
|
|
]
|