1[package]
2name = "core"
3version = "0.0.0"
4license = "MIT OR Apache-2.0"
5repository = "https://github.com/rust-lang/rust.git"
6description = "The Rust Core Library"
7autotests = false
8autobenches = false
9# If you update this, be sure to update it in a bunch of other places too!
10# As of 2024, it was src/tools/opt-dist, the core-no-fp-fmt-parse test and
11# the version of the prelude imported in core/lib.rs.
12edition = "2021"
13
14[lib]
15test = false
16bench = false
17
18[[test]]
19name = "coretests"
20path = "tests/lib.rs"
21
22[[bench]]
23name = "corebenches"
24path = "benches/lib.rs"
25test = true
26
27[dev-dependencies]
28rand = { version = "0.8.5", default-features = false }
29rand_xorshift = { version = "0.3.0", default-features = false }
30
31[features]
32# Make panics and failed asserts immediately abort without formatting any message
33panic_immediate_abort = []
34# Make `RefCell` store additional debugging information, which is printed out when
35# a borrow error occurs
36debug_refcell = []
37