1[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
7version = "0.8.5"
8authors = ["The Crossbeam Project Developers"]
9edition = "2018"
10license = "MIT OR Apache-2.0"
11repository = "https://github.com/crossbeam-rs/crossbeam"
12homepage = "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-utils"
13documentation = "https://docs.rs/crossbeam-utils"
14description = "Utilities for concurrent programming"
15keywords = ["scoped", "thread", "atomic", "cache"]
16categories = ["algorithms", "concurrency", "data-structures", "no-std"]
17
18[features]
19default = ["std"]
20
21# Enable to use APIs that require `std`.
22# This is enabled by default.
23std = ["lazy_static"]
24
25# These features are no longer used.
26# TODO: remove in the next major version.
27# Enable to use of unstable functionality.
28# This is disabled by default and requires recent nightly compiler.
29#
30# NOTE: This feature is outside of the normal semver guarantees and minor or
31# patch versions of crossbeam may make breaking changes to them at any time.
32nightly = []
33
34[dependencies]
35cfg-if = "1"
36lazy_static = { version = "1.4.0", optional = true }
37
38# Enable the use of loom for concurrency testing.
39#
40# NOTE: This feature is outside of the normal semver guarantees and minor or
41# patch versions of crossbeam may make breaking changes to them at any time.
42[target.'cfg(crossbeam_loom)'.dependencies]
43loom = { version = "0.5", optional = true }
44
45[dev-dependencies]
46rand = "0.8"
47