blob: 73508a9824b3af32c4efcaedd7c04b443dfe6c40 [file] [log] [blame]
Jakub Kotura1fea562020-12-21 17:28:14 +01001[package]
2name = "crossbeam-utils"
3# When publishing a new version:
4# - Update CHANGELOG.md
5# - Update README.md
6# - Create "crossbeam-utils-X.Y.Z" git tag
David LeGare66bcc0c2022-03-01 19:05:04 +00007version = "0.8.7"
Jakub Kotura1fea562020-12-21 17:28:14 +01008edition = "2018"
David LeGare66bcc0c2022-03-01 19:05:04 +00009rust-version = "1.36"
Jakub Kotura1fea562020-12-21 17:28:14 +010010license = "MIT OR Apache-2.0"
Jakub Kotura1fea562020-12-21 17:28:14 +010011repository = "https://github.com/crossbeam-rs/crossbeam"
12homepage = "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-utils"
Jakub Kotura1fea562020-12-21 17:28:14 +010013description = "Utilities for concurrent programming"
14keywords = ["scoped", "thread", "atomic", "cache"]
15categories = ["algorithms", "concurrency", "data-structures", "no-std"]
16
17[features]
18default = ["std"]
19
20# Enable to use APIs that require `std`.
21# This is enabled by default.
22std = ["lazy_static"]
23
Joel Galenson2ce91672021-06-21 12:24:00 -070024# These features are no longer used.
25# TODO: remove in the next major version.
Jakub Kotura1fea562020-12-21 17:28:14 +010026# Enable to use of unstable functionality.
27# This is disabled by default and requires recent nightly compiler.
Joel Galenson2ce91672021-06-21 12:24:00 -070028#
29# NOTE: This feature is outside of the normal semver guarantees and minor or
30# patch versions of crossbeam may make breaking changes to them at any time.
Jakub Kotura1fea562020-12-21 17:28:14 +010031nightly = []
32
33[dependencies]
34cfg-if = "1"
35lazy_static = { version = "1.4.0", optional = true }
36
Joel Galenson2e996282021-04-01 15:39:07 -070037# Enable the use of loom for concurrency testing.
38#
Joel Galenson2ce91672021-06-21 12:24:00 -070039# NOTE: This feature is outside of the normal semver guarantees and minor or
40# patch versions of crossbeam may make breaking changes to them at any time.
Joel Galenson2e996282021-04-01 15:39:07 -070041[target.'cfg(crossbeam_loom)'.dependencies]
Joel Galensonf32965f2021-05-20 10:13:47 -070042loom = { version = "0.5", optional = true }
Joel Galenson2e996282021-04-01 15:39:07 -070043
Jakub Kotura1fea562020-12-21 17:28:14 +010044[dev-dependencies]
Joel Galenson2e996282021-04-01 15:39:07 -070045rand = "0.8"
David LeGare66bcc0c2022-03-01 19:05:04 +000046rustversion = "1"