# 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 = "password-worker" version = "0.4.0" authors = ["Jonathan Underwood "] description = "A wrapper for password hashing that can be used as shared state, and uses a rayon thread pool so it won't block the async runtime." documentation = "https://docs.rs/password-worker/" readme = "README.md" license = "MIT" repository = "https://github.com/junderw/password-worker/" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "usage" required-features = [ "bcrypt", "rust-argon2", ] [dependencies.bcrypt] version = "0.15" optional = true [dependencies.crossbeam-channel] version = "0.5" [dependencies.rayon] version = "1" [dependencies.rust-argon2] version = "2" optional = true [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = ["sync"] default-features = false [dev-dependencies.tokio] version = "1" features = [ "sync", "rt-multi-thread", "macros", ] [features] default = ["bcrypt"]