# 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 = "2024"
name = "aegisvault"
version = "0.3.58"
authors = ["github.com/pepa65 <pepa65@passchier.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Convert otpauth URI file to Encrypted Aegis vault JSON on stdout"
documentation = "https://docs.rs/aegisvault"
readme = "README.md"
keywords = [
    "cli",
    "otpauth",
    "json",
    "aegis",
]
categories = [
    "command-line-utilities",
    "encoding",
]
license = "GPL-3.0-only"
repository = "https://github.com/pepa65/aegisvault"

[package.metadata.binstall]
disabled-strategies = [
    "quick-install",
    "compile",
]
pkg-fmt = "bin"
pkg-url = "{repo}/releases/download/{version}/{name}"
target = "x86_64-unknown-linux-musl"
target-arch = "X86_64"
target-family = "Linux"

[lib]
name = "aegisvault"
path = "src/lib.rs"

[[bin]]
name = "aegisvault"
path = "src/main.rs"

[dependencies.aes-gcm]
version = "0.10.3"

[dependencies.anyhow]
version = "1.0.95"

[dependencies.clap]
version = "4.5.26"
features = ["derive"]

[dependencies.data-encoding]
version = "2.6.0"

[dependencies.hex]
version = "0.4.3"
features = ["serde"]

[dependencies.rand]
version = "0.9.1"

[dependencies.ring]
version = "0.17.14"

[dependencies.rpassword]
version = "7.3.1"

[dependencies.scrypt]
version = "0.11.0"
default-features = false

[dependencies.serde]
version = "1.0.217"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.135"

[dependencies.url]
version = "2.5.4"

[dependencies.urlencoding]
version = "2.1.3"

[dependencies.uuid]
version = "1.11.1"
features = ["v4"]

[dependencies.zeroize]
version = "1.8.1"
features = ["zeroize_derive"]

[lints.clippy]
inherent_to_string = "allow"
to_string_trait_impl = "allow"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true
