]> git.proxmox.com Git - rustc.git/blame - library/core/Cargo.toml
bump version to 1.80.1+dfsg1-1~bpo12+pve1
[rustc.git] / library / core / Cargo.toml
CommitLineData
7453a54e 1[package]
7453a54e
SL
2name = "core"
3version = "0.0.0"
cdc7bbd5
XL
4license = "MIT OR Apache-2.0"
5repository = "https://github.com/rust-lang/rust.git"
6description = "The Rust Core Library"
94b46f34
XL
7autotests = false
8autobenches = false
5099ac24 9# If you update this, be sure to update it in a bunch of other places too!
e8be2606
FG
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.
5099ac24 12edition = "2021"
7453a54e
SL
13
14[lib]
7453a54e 15test = false
476ff2be 16bench = false
a7813a04
XL
17
18[[test]]
cc61c64b 19name = "coretests"
3dfed10e 20path = "tests/lib.rs"
476ff2be 21
8bb4bdeb
XL
22[[bench]]
23name = "corebenches"
3dfed10e 24path = "benches/lib.rs"
f035d41b 25test = true
0531ce1d
XL
26
27[dev-dependencies]
9c376795
FG
28rand = { version = "0.8.5", default-features = false }
29rand_xorshift = { version = "0.3.0", default-features = false }
a1dfa0c6
XL
30
31[features]
32# Make panics and failed asserts immediately abort without formatting any message
33panic_immediate_abort = []
31ef2f64
FG
34# Choose algorithms that are optimized for binary size instead of runtime performance
35optimize_for_size = []
cdc7bbd5
XL
36# Make `RefCell` store additional debugging information, which is printed out when
37# a borrow error occurs
38debug_refcell = []
31ef2f64
FG
39
40[lints.rust.unexpected_cfgs]
41level = "warn"
42# x.py uses beta cargo, so `check-cfg` entries do not yet take effect
43# for rust-lang/rust. But for users of `-Zbuild-std` it does.
44check-cfg = [
45 'cfg(bootstrap)',
46 'cfg(no_fp_fmt_parse)',
47 'cfg(stdarch_intel_sde)',
48 # core use #[path] imports to portable-simd `core_simd` crate
49 # and to stdarch `core_arch` crate which messes-up with Cargo list
50 # of declared features, we therefor expect any feature cfg
51 'cfg(feature, values(any()))',
52]