| # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| # |
| # When uploading crates to the registry Cargo will automatically |
| # "normalize" Cargo.toml files for maximal compatibility |
| # with all versions of Cargo and also rewrite `path` dependencies |
| # to registry (e.g., crates.io) dependencies |
| # |
| # If you believe there's an error in this file please file an |
| # issue against the rust-lang/cargo repository. If you're |
| # editing this file be aware that the upstream Cargo.toml |
| # will likely look very different (and much more reasonable) |
| |
| [package] |
| name = "spin" |
| version = "0.9.2" |
| authors = ["Mathijs van de Nes <git@mathijs.vd-nes.nl>", "John Ericson <git@JohnEricson.me>", "Joshua Barretto <joshua.s.barretto@gmail.com>"] |
| description = "Spin-based synchronization primitives" |
| keywords = ["spinlock", "mutex", "rwlock"] |
| license = "MIT" |
| repository = "https://github.com/mvdnes/spin-rs.git" |
| [package.metadata.docs.rs] |
| all-features = true |
| rustdoc-args = ["--cfg", "docsrs"] |
| [dependencies.lock_api_crate] |
| version = "0.4" |
| optional = true |
| package = "lock_api" |
| |
| [features] |
| barrier = ["mutex"] |
| default = ["lock_api", "mutex", "spin_mutex", "rwlock", "once", "lazy", "barrier"] |
| lazy = ["once"] |
| lock_api = ["lock_api_crate"] |
| mutex = [] |
| once = [] |
| rwlock = [] |
| spin_mutex = ["mutex"] |
| std = [] |
| ticket_mutex = ["mutex"] |
| use_ticket_mutex = ["mutex", "ticket_mutex"] |