# 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] edition = "2018" name = "option-lock" version = "0.3.1" authors = ["Andrew Whitehead "] description = "A simple mutex for Option values" readme = "README.md" keywords = ["atomic", "once-cell", "option", "mutex", "lock"] categories = ["concurrency", "data-structures", "no-std"] license = "MIT OR Apache-2.0" repository = "https://github.com/andrewwhitehead/option-lock-rs/" [lib] name = "option_lock" path = "src/lib.rs" [[example]] name = "atomic-wake" [[example]] name = "sync-results" [[example]] name = "try-mutex" [[bench]] name = "contention" harness = false required-features = ["bench"] [dependencies.criterion] version = "0.3" optional = true [features] alloc = [] bench = ["criterion"] default = ["std"] std = ["alloc"]