Jeff Vander Stoep | b00717e | 2020-12-04 13:34:19 +0100 | [diff] [blame] | 1 | # 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] |
| 14 | name = "spin" |
Joel Galenson | 7328d96 | 2021-08-09 10:44:07 -0700 | [diff] [blame] | 15 | version = "0.9.2" |
Jeff Vander Stoep | b00717e | 2020-12-04 13:34:19 +0100 | [diff] [blame] | 16 | authors = ["Mathijs van de Nes <git@mathijs.vd-nes.nl>", "John Ericson <git@JohnEricson.me>", "Joshua Barretto <joshua.s.barretto@gmail.com>"] |
| 17 | description = "Spin-based synchronization primitives" |
| 18 | keywords = ["spinlock", "mutex", "rwlock"] |
| 19 | license = "MIT" |
| 20 | repository = "https://github.com/mvdnes/spin-rs.git" |
Joel Galenson | 8d7807f | 2021-06-22 10:44:01 -0700 | [diff] [blame] | 21 | [package.metadata.docs.rs] |
| 22 | all-features = true |
| 23 | rustdoc-args = ["--cfg", "docsrs"] |
Jeff Vander Stoep | b00717e | 2020-12-04 13:34:19 +0100 | [diff] [blame] | 24 | [dependencies.lock_api_crate] |
| 25 | version = "0.4" |
| 26 | optional = true |
| 27 | package = "lock_api" |
| 28 | |
| 29 | [features] |
Joel Galenson | 8d7807f | 2021-06-22 10:44:01 -0700 | [diff] [blame] | 30 | barrier = ["mutex"] |
| 31 | default = ["lock_api", "mutex", "spin_mutex", "rwlock", "once", "lazy", "barrier"] |
| 32 | lazy = ["once"] |
Jeff Vander Stoep | b00717e | 2020-12-04 13:34:19 +0100 | [diff] [blame] | 33 | lock_api = ["lock_api_crate"] |
Joel Galenson | 8d7807f | 2021-06-22 10:44:01 -0700 | [diff] [blame] | 34 | mutex = [] |
| 35 | once = [] |
| 36 | rwlock = [] |
| 37 | spin_mutex = ["mutex"] |
Jeff Vander Stoep | b00717e | 2020-12-04 13:34:19 +0100 | [diff] [blame] | 38 | std = [] |
Joel Galenson | 8d7807f | 2021-06-22 10:44:01 -0700 | [diff] [blame] | 39 | ticket_mutex = ["mutex"] |
| 40 | use_ticket_mutex = ["mutex", "ticket_mutex"] |