# 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 = "djangohashers" version = "1.7.4" authors = ["Ronaldo Racum "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A Rust port of the password primitives used in Django project." homepage = "https://github.com/racum/rust-djangohashers" documentation = "https://docs.rs/djangohashers/" readme = "README.md" keywords = [ "hash", "password", "python", "django", "crypto", ] categories = [ "algorithms", "authentication", "cryptography", ] license = "BSD-3-Clause" repository = "https://github.com/racum/rust-djangohashers" [profile.dev.package."*"] opt-level = 1 [lib] name = "djangohashers" path = "src/lib.rs" doctest = false bench = true doc = true [[example]] name = "profile" path = "examples/profile.rs" [[example]] name = "simple" path = "examples/simple.rs" [[example]] name = "tldr" path = "examples/tldr.rs" [[test]] name = "deny_of_service" path = "tests/deny_of_service.rs" [[test]] name = "django110" path = "tests/django110.rs" [[test]] name = "django111" path = "tests/django111.rs" [[test]] name = "django14" path = "tests/django14.rs" [[test]] name = "django15" path = "tests/django15.rs" [[test]] name = "django16" path = "tests/django16.rs" [[test]] name = "django17" path = "tests/django17.rs" [[test]] name = "django18" path = "tests/django18.rs" [[test]] name = "django19" path = "tests/django19.rs" [[test]] name = "django20" path = "tests/django20.rs" [[test]] name = "django21" path = "tests/django21.rs" [[test]] name = "django22" path = "tests/django22.rs" [[test]] name = "django30" path = "tests/django30.rs" [[test]] name = "django31" path = "tests/django31.rs" [[test]] name = "django32" path = "tests/django32.rs" [[test]] name = "django40" path = "tests/django40.rs" [[test]] name = "django41" path = "tests/django41.rs" [[test]] name = "django42" path = "tests/django42.rs" [[test]] name = "django50" path = "tests/django50.rs" [[test]] name = "django51" path = "tests/django51.rs" [[test]] name = "django52" path = "tests/django52.rs" [[test]] name = "fuzzy_tests" path = "tests/fuzzy_tests.rs" [[test]] name = "lib" path = "tests/lib.rs" [dependencies.base64] version = "^0.22" optional = true [dependencies.bcrypt] version = "^0.15" optional = true [dependencies.constant_time_eq] version = "^0.3" optional = true [dependencies.fastpbkdf2] version = "^0.1" optional = true [dependencies.hex_fmt] version = "^0.3" optional = true [dependencies.lazy_static] version = "^1.0" [dependencies.md-5] version = "^0.10" optional = true [dependencies.pwhash] version = "^1.0" optional = true default-features = false [dependencies.rand] version = "^0.8" [dependencies.regex] version = "^1.0" [dependencies.ring] version = "^0.17" optional = true default-features = false [dependencies.rust-argon2] version = "^2.0" optional = true [dependencies.scrypt] version = "^0.11" optional = true [dependencies.sha-1] version = "^0.10" optional = true [dependencies.sha2] version = "^0.10" optional = true [dev-dependencies.quickcheck] version = "^1.0" [features] default = [ "with_pbkdf2", "with_argon2", "with_scrypt", "with_bcrypt", "with_legacy", ] fpbkdf2 = [ "base64", "constant_time_eq", "fastpbkdf2", ] fuzzy_tests = [] with_argon2 = [ "base64", "constant_time_eq", "rust-argon2", ] with_bcrypt = [ "bcrypt", "sha2", ] with_legacy = [ "pwhash", "constant_time_eq", "md-5", "sha-1", "hex_fmt", ] with_pbkdf2 = [ "base64", "constant_time_eq", "ring", ] with_scrypt = [ "base64", "constant_time_eq", "scrypt", ]