blob: c32199c081c17de96d9375835b45b2c6cb1786f6 [file] [log] [blame]
Jeff Vander Stoepb00717e2020-12-04 13:34:19 +01001# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies
7#
8# If you believe there's an error in this file please file an
9# issue against the rust-lang/cargo repository. If you're
10# editing this file be aware that the upstream Cargo.toml
11# will likely look very different (and much more reasonable)
12
13[package]
14name = "spin"
Joel Galenson7328d962021-08-09 10:44:07 -070015version = "0.9.2"
Jeff Vander Stoepb00717e2020-12-04 13:34:19 +010016authors = ["Mathijs van de Nes <git@mathijs.vd-nes.nl>", "John Ericson <git@JohnEricson.me>", "Joshua Barretto <joshua.s.barretto@gmail.com>"]
17description = "Spin-based synchronization primitives"
18keywords = ["spinlock", "mutex", "rwlock"]
19license = "MIT"
20repository = "https://github.com/mvdnes/spin-rs.git"
Joel Galenson8d7807f2021-06-22 10:44:01 -070021[package.metadata.docs.rs]
22all-features = true
23rustdoc-args = ["--cfg", "docsrs"]
Jeff Vander Stoepb00717e2020-12-04 13:34:19 +010024[dependencies.lock_api_crate]
25version = "0.4"
26optional = true
27package = "lock_api"
28
29[features]
Joel Galenson8d7807f2021-06-22 10:44:01 -070030barrier = ["mutex"]
31default = ["lock_api", "mutex", "spin_mutex", "rwlock", "once", "lazy", "barrier"]
32lazy = ["once"]
Jeff Vander Stoepb00717e2020-12-04 13:34:19 +010033lock_api = ["lock_api_crate"]
Joel Galenson8d7807f2021-06-22 10:44:01 -070034mutex = []
35once = []
36rwlock = []
37spin_mutex = ["mutex"]
Jeff Vander Stoepb00717e2020-12-04 13:34:19 +010038std = []
Joel Galenson8d7807f2021-06-22 10:44:01 -070039ticket_mutex = ["mutex"]
40use_ticket_mutex = ["mutex", "ticket_mutex"]