# 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 = "2018" name = "keepass" version = "0.7.26" authors = ["Stefan Seemayer "] build = false include = [ "src/", "README.md", "LICENSE", ] autobins = false autoexamples = false autotests = false autobenches = false description = "KeePass .kdbx database file parser" homepage = "https://github.com/sseemayer/keepass-rs" documentation = "https://docs.rs/keepass" readme = "README.md" license = "MIT" repository = "https://github.com/sseemayer/keepass-rs" [lib] name = "keepass" path = "src/lib.rs" [[bin]] name = "kp-dump-json" path = "src/bin/kp-dump-json.rs" required-features = ["utilities"] [[bin]] name = "kp-dump-xml" path = "src/bin/kp-dump-xml.rs" required-features = ["utilities"] [[bin]] name = "kp-get-version" path = "src/bin/kp-get-version.rs" required-features = ["utilities"] [[bin]] name = "kp-purge-history" path = "src/bin/kp-purge-history.rs" required-features = [ "utilities", "save_kdbx4", ] [[bin]] name = "kp-rewrite" path = "src/bin/kp-rewrite.rs" required-features = [ "utilities", "save_kdbx4", ] [[bin]] name = "kp-show-db" path = "src/bin/kp-show-db.rs" required-features = ["utilities"] [[bin]] name = "kp-show-otp" path = "src/bin/kp-show-otp.rs" required-features = ["utilities"] [[bin]] name = "kp-yk-add" path = "src/bin/kp-yk-add.rs" required-features = [ "utilities", "save_kdbx4", "challenge_response", ] [[bin]] name = "kp-yk-recover" path = "src/bin/kp-yk-recover.rs" required-features = [ "utilities", "save_kdbx4", "challenge_response", ] [[bin]] name = "kp-yk-remove" path = "src/bin/kp-yk-remove.rs" required-features = [ "utilities", "save_kdbx4", "challenge_response", ] [dependencies.aes] version = "0.8" [dependencies.anyhow] version = "1" optional = true [dependencies.base32] version = "0.5" optional = true [dependencies.base64] version = "0.22" [dependencies.block-modes] version = "0.9" [dependencies.byteorder] version = "1" [dependencies.cbc] version = "0.1" [dependencies.chacha20] version = "0.9" [dependencies.challenge_response] version = "0.5" optional = true [dependencies.chrono] version = "0.4.23" features = [ "serde", "clock", "std", ] default-features = false [dependencies.cipher] version = "0.4" features = ["std"] [dependencies.clap] version = "4" features = ["derive"] optional = true [dependencies.flate2] version = "1" [dependencies.getrandom] version = "0.2" features = ["std"] [dependencies.hex] version = "0.4" [dependencies.hex-literal] version = "0.4" [dependencies.hmac] version = "0.12" [dependencies.rpassword] version = "7" optional = true [dependencies.rust-argon2] version = "2.0" [dependencies.salsa20] version = "0.10" [dependencies.secstr] version = "0.5" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.sha1] version = "0.10" optional = true [dependencies.sha2] version = "0.10" [dependencies.thiserror] version = "2" [dependencies.totp-lite] version = "2.0" optional = true [dependencies.twofish] version = "0.7" [dependencies.url] version = "2.2" optional = true [dependencies.uuid] version = "1.2" features = [ "v4", "serde", ] [dependencies.xml-rs] version = "0.8" [dependencies.zeroize] version = "1" features = ["zeroize_derive"] [dev-dependencies.rustfmt] version = "0.10" [features] _merge = [] challenge_response = [ "sha1", "dep:challenge_response", ] default = [] save_kdbx4 = [] serialization = [ "serde", "serde_json", "chrono/serde", ] totp = [ "totp-lite", "url", "base32", ] utilities = [ "anyhow", "clap", "rpassword", "serialization", "totp", ] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(tarpaulin_include)"]