# 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 are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "async-local" version = "2.0.1" authors = ["Thomas Sieverding "] description = "For using thread locals within an async context and across await points" readme = "./README.md" license = "MIT" repository = "https://github.com/Bajix/async-local/" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.release] opt-level = 3 lto = "fat" codegen-units = 1 [lib] doctest = false bench = false [dependencies.derive-async-local] version = "2.0.0" [dependencies.generativity] version = "1.1" [dependencies.num_cpus] version = "1.16" [dependencies.tokio] version = "1" features = [ "rt", "rt-multi-thread", ] optional = true [dev-dependencies.tokio] version = "1" features = ["macros"] [features] barrier-protected-runtime = [ "tokio-runtime", "tokio/rt-multi-thread", ] default = ["tokio-runtime"] tokio-runtime = ["tokio"] [target."cfg(loom)".dependencies.loom] version = "0.7" features = []