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 2022, it was the ci/pgo.sh script and the core-no-fp-fmt-parse test. |
11 | edition = "2021" |
12 | |
13 | [lib] |
14 | test = false |
15 | bench = false |
16 | |
17 | [[test]] |
18 | name = "coretests" |
19 | path = "tests/lib.rs" |
20 | |
21 | [[bench]] |
22 | name = "corebenches" |
23 | path = "benches/lib.rs" |
24 | test = true |
25 | |
26 | [dev-dependencies] |
27 | rand = { version = "0.8.5" , default-features = false } |
28 | rand_xorshift = { version = "0.3.0" , default-features = false } |
29 | |
30 | [features] |
31 | # Make panics and failed asserts immediately abort without formatting any message |
32 | panic_immediate_abort = [] |
33 | # Make `RefCell` store additional debugging information, which is printed out when |
34 | # a borrow error occurs |
35 | debug_refcell = [] |
36 | |