# 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"
rust-version = "1.70"
name = "naru-config"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A security-first configuration manager with encryption and audit logging"
documentation = "https://github.com/Luvion1/naru/tree/master/docs"
readme = "README.md"
keywords = [
    "config",
    "encryption",
    "security",
    "cli",
    "vault",
]
categories = [
    "command-line-utilities",
    "cryptography",
]
license = "MIT"
repository = "https://github.com/Luvion1/naru"

[package.metadata.cargo-gha]
repository = "https://github.com/Luvion1/naru"

[badges.crates-io]
version = "1.0"

[badges.github]
repository = "Luvion1/naru"
workflow = "ci"

[features]
cli = [
    "clap",
    "dialoguer",
    "console",
]
default = ["cli"]

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

[[bin]]
name = "naru"
path = "src/main.rs"
required-features = ["cli"]

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.argon2]
version = "0.5"

[dependencies.chrono]
version = "0.4.43"
features = ["serde"]

[dependencies.clap]
version = "4.6.0"
features = ["derive"]
optional = true

[dependencies.console]
version = "0.16"
optional = true

[dependencies.dialoguer]
version = "0.12.0"
optional = true

[dependencies.dotenvy]
version = "0.15.7"

[dependencies.fs2]
version = "0.4.3"

[dependencies.hex]
version = "0.4.3"

[dependencies.rand]
version = "0.8.5"

[dependencies.regex]
version = "1.12"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1.0.69"

[dependencies.toml]
version = "0.8"

[dependencies.unicode-normalization]
version = "0.1.25"

[dependencies.zeroize]
version = "1.8"

[dev-dependencies.serial_test]
version = "3.3.1"

[dev-dependencies.tempfile]
version = "3.14"

[profile.dev]
opt-level = 0
debug = 2

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
