1 | [package] |
2 | name = "core" |
3 | version = "0.0.0" |
4 | license = "MIT OR Apache-2.0" |
5 | repository = "https://github.com/rust-lang/rust.git" |
6 | description = "The Rust Core Library" |
7 | autotests = false |
8 | autobenches = 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. |
12 | edition = "2021" |
13 | |
14 | [lib] |
15 | test = false |
16 | bench = false |
17 | |
18 | [[test]] |
19 | name = "coretests" |
20 | path = "tests/lib.rs" |
21 | |
22 | [[bench]] |
23 | name = "corebenches" |
24 | path = "benches/lib.rs" |
25 | test = true |
26 | |
27 | [dev-dependencies] |
28 | rand = { version = "0.8.5" , default-features = false } |
29 | rand_xorshift = { version = "0.3.0" , default-features = false } |
30 | |
31 | [features] |
32 | # Make panics and failed asserts immediately abort without formatting any message |
33 | panic_immediate_abort = [] |
34 | # Make `RefCell` store additional debugging information, which is printed out when |
35 | # a borrow error occurs |
36 | debug_refcell = [] |
37 | |