mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
51 lines
1.4 KiB
TOML
51 lines
1.4 KiB
TOML
[package]
|
|
name = "core"
|
|
version = "0.0.0"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rust-lang/rust.git"
|
|
description = "The Rust Core Library"
|
|
autotests = false
|
|
autobenches = false
|
|
# If you update this, be sure to update it in a bunch of other places too!
|
|
# As of 2024, it was src/tools/opt-dist, the core-no-fp-fmt-parse test and
|
|
# the version of the prelude imported in core/lib.rs.
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
test = false
|
|
bench = false
|
|
|
|
[[test]]
|
|
name = "coretests"
|
|
path = "tests/lib.rs"
|
|
|
|
[[bench]]
|
|
name = "corebenches"
|
|
path = "benches/lib.rs"
|
|
test = true
|
|
|
|
[dev-dependencies]
|
|
rand = { version = "0.8.5", default-features = false }
|
|
rand_xorshift = { version = "0.3.0", default-features = false }
|
|
|
|
[features]
|
|
# Make panics and failed asserts immediately abort without formatting any message
|
|
panic_immediate_abort = []
|
|
# Choose algorithms that are optimized for binary size instead of runtime performance
|
|
optimize_for_size = []
|
|
# Make `RefCell` store additional debugging information, which is printed out when
|
|
# a borrow error occurs
|
|
debug_refcell = []
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
check-cfg = [
|
|
'cfg(bootstrap)',
|
|
'cfg(no_fp_fmt_parse)',
|
|
'cfg(stdarch_intel_sde)',
|
|
# core use #[path] imports to portable-simd `core_simd` crate
|
|
# and to stdarch `core_arch` crate which messes-up with Cargo list
|
|
# of declared features, we therefor expect any feature cfg
|
|
'cfg(feature, values(any()))',
|
|
]
|