# 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 = "yaar-lock" version = "0.2.1" authors = ["kprotty"] description = "Fast, no_std synchronization primitives.\n" readme = "README.md" keywords = ["no-std", "thread", "mutex"] categories = ["concurrency", "no-std"] license = "MIT OR Apache-2.0" repository = "https://github.com/kprotty/yaar/tree/master/yaar-lock" [package.metadata.docs.rs] features = ["full", "nightly"] [package.metadata.playground] features = ["full"] [lib] name = "yaar_lock" [[bench]] name = "async_mutex" harness = false required-features = ["bench_async"] [[bench]] name = "sync_mutex" harness = false required-features = ["bench_sync"] [dependencies.async-std] version = "1.4" optional = true [dependencies.criterion] version = "0.3" optional = true [dependencies.crossbeam-utils] version = "0.7" optional = true [dependencies.futures-intrusive] version = "0.3" optional = true default-features = false [dependencies.lock_api] version = "0.3" optional = true [dependencies.num_cpus] version = "1.11" optional = true [dependencies.parking_lot] version = "0.10" optional = true [dependencies.tokio] version = "0.2" optional = true [features] bench_async = ["os", "future", "criterion", "num_cpus", "futures-intrusive/std", "async-std", "tokio/sync", "tokio/rt-threaded"] bench_sync = ["os", "sync", "criterion", "num_cpus", "parking_lot", "crossbeam-utils"] default = [] full = ["os", "sync", "future"] future = ["sync", "futures-intrusive"] nightly = [] os = ["libc", "winapi/winbase", "winapi/handleapi", "winapi/libloaderapi"] sync = ["lock_api"] [target."cfg(unix)".dependencies.libc] version = "0.2" optional = true default-features = false [target."cfg(windows)".dependencies.winapi] version = "0.3" optional = true default-features = false