sshenv 0.0.1-alpha.1

SSH-key-backed encrypted vault for environment variables
# 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 = "sshenv"
version = "0.0.1-alpha.1"
authors = ["Braden Steffaniak"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SSH-key-backed encrypted vault for environment variables"
readme = false
license = "MPL-2.0"
repository = "https://github.com/BSteffaniak/sshenv"

[features]
age-plugin-recipient = [
    "hardware-recipient",
    "sshenv_vault/age-plugin-recipient",
]
default = [
    "ssh-hardening",
    "rekey",
    "passphrase-factor",
    "rollback-protection",
    "runtime-hardening",
    "profile-keys",
]
device-seal = ["sshenv_vault/device-seal"]
device-seal-file = [
    "device-seal",
    "sshenv_vault/device-seal-file",
]
fail-on-warnings = [
    "sshenv_cli_models/fail-on-warnings",
    "sshenv_shims/fail-on-warnings",
    "sshenv_vault/fail-on-warnings",
]
hardware-recipient = ["sshenv_vault/hardware-recipient"]
kms-factor = [
    "remote-factor",
    "sshenv_vault/kms-factor",
]
linux-secret-service = [
    "device-seal",
    "sshenv_vault/linux-secret-service",
]
macos-keychain = [
    "device-seal",
    "sshenv_vault/macos-keychain",
]
passphrase-factor = ["sshenv_vault/passphrase-factor"]
profile-keys = ["sshenv_vault/profile-keys"]
recovery-shares = [
    "threshold-policies",
    "sshenv_vault/recovery-shares",
]
rekey = ["sshenv_vault/rekey"]
remote-factor = ["sshenv_vault/remote-factor"]
rollback-protection = []
runtime-hardening = []
secure-enclave = [
    "device-seal",
    "sshenv_vault/secure-enclave",
]
shamir-sharing = [
    "recovery-shares",
    "sshenv_vault/shamir-sharing",
]
ssh-hardening = ["sshenv_vault/ssh-hardening"]
threshold-policies = ["sshenv_vault/threshold-policies"]
tpm-device-seal = [
    "device-seal",
    "sshenv_vault/tpm-device-seal",
]
windows-dpapi = [
    "device-seal",
    "sshenv_vault/windows-dpapi",
]

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

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

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.age]
version = "0.11.1"
features = ["ssh"]
default-features = false

[dependencies.anyhow]
version = "1"
features = ["std"]
default-features = false

[dependencies.clap]
version = "4"
features = [
    "derive",
    "std",
    "help",
    "usage",
    "error-context",
    "color",
    "suggestions",
]
default-features = false

[dependencies.dirs]
version = "6"
default-features = false

[dependencies.hex]
version = "0.4"
features = ["std"]
default-features = false

[dependencies.libc]
version = "0.2"
default-features = false

[dependencies.rpassword]
version = "7"
default-features = false

[dependencies.serde]
version = "1"
features = [
    "std",
    "derive",
]
default-features = false

[dependencies.serde_json]
version = "1"
features = ["std"]
default-features = false

[dependencies.ssh-key]
version = "0.6"
features = ["ed25519"]
default-features = false

[dependencies.sshenv_cli_models]
version = "0.0.1-alpha.1"

[dependencies.sshenv_shims]
version = "0.0.1-alpha.1"

[dependencies.sshenv_vault]
version = "0.0.1-alpha.1"

[dependencies.tempfile]
version = "3"
default-features = false

[dependencies.toml]
version = "0.8"
features = [
    "parse",
    "display",
]
default-features = false

[dependencies.windows-sys]
version = "0.59"
features = [
    "Win32_Foundation",
    "Win32_Security",
    "Win32_Security_Authorization",
    "Win32_Security_Cryptography",
    "Win32_System_Diagnostics_Debug",
    "Win32_System_Memory",
    "Win32_System_Threading",
]
default-features = false

[dependencies.zeroize]
version = "1"
features = [
    "std",
    "zeroize_derive",
]
default-features = false

[lints.clippy]
cargo_common_metadata = "allow"
collapsible_if = "allow"
doc_markdown = "allow"
if_not_else = "allow"
implicit_hasher = "allow"
manual_let_else = "allow"
map_unwrap_or = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
needless_bool_assign = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
single_match = "allow"
single_match_else = "allow"
too_long_first_doc_paragraph = "allow"
too_many_lines = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1