[badges.codecov]
branch = "main"
repository = "nushell-works/nu_plugin_secret"
service = "github"
[badges.maintenance]
status = "actively-developed"
[[bench]]
harness = false
name = "performance_regression"
path = "benches/performance_regression.rs"
[[bench]]
harness = false
name = "plugin_startup"
path = "benches/plugin_startup.rs"
[[bench]]
harness = false
name = "secret_performance"
path = "benches/secret_performance.rs"
[[bin]]
name = "nu_plugin_secret"
path = "src/main.rs"
[dependencies.bincode]
version = "1.3"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.dirs]
version = "5.0"
[dependencies.nu-plugin]
version = "0.106.1"
[dependencies.nu-protocol]
version = "0.106.1"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2.0"
[dependencies.toml]
version = "0.8"
[dependencies.typetag]
version = "0.2"
[dependencies.zeroize]
features = ["derive"]
version = "1.8"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.nu-test-support]
version = "0.106.1"
[dev-dependencies.proptest]
version = "1.5"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.serde_yaml]
version = "0.9"
[dev-dependencies.tempfile]
version = "3.0"
[lib]
name = "nu_plugin_secret"
path = "src/lib.rs"
[package]
authors = ["John Ky <newhoggy@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities", "development-tools", "cryptography", "data-structures"]
description = "Production-grade secret handling plugin for Nushell with secure CustomValue types that prevent accidental exposure of sensitive data"
documentation = "https://docs.rs/nu_plugin_secret/"
edition = "2021"
homepage = "https://github.com/nushell-works/nu_plugin_secret"
include = ["src/**/*", "tests/**/*", "benches/**/*", "docs/**/*", "README.md", "LICENSE", "CHANGELOG.md", "Cargo.toml"]
keywords = ["nushell", "secret", "security", "plugin", "custom-types"]
license = "BSD-3-Clause"
name = "nu_plugin_secret"
publish = true
readme = "README.md"
repository = "https://github.com/nushell-works/nu_plugin_secret"
rust-version = "1.85.0"
version = "0.3.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc", "x86_64-apple-darwin", "aarch64-apple-darwin"]
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
replace = """
## [Unreleased]
## [{{version}}] - {{date}}"""
search = '## \[Unreleased\]'
[[package.metadata.release.pre-release-replacements]]
file = "README.md"
replace = 'nu_plugin_secret = "{{version}}"'
search = 'nu_plugin_secret = "[^"]*"'
[profile.dev]
debug = 2
[profile.release]
codegen-units = 1
lto = true
panic = "abort"
strip = true
[profile.test]
debug = 2
[[test]]
name = "command_integration_tests"
path = "tests/command_integration_tests.rs"
[[test]]
name = "contains_tests"
path = "tests/contains_tests.rs"
[[test]]
name = "security_cryptographic_review"
path = "tests/security_cryptographic_review.rs"
[[test]]
name = "security_memory_safety"
path = "tests/security_memory_safety.rs"
[[test]]
name = "security_serialization_attacks"
path = "tests/security_serialization_attacks.rs"
[[test]]
name = "security_sidechannel_attacks"
path = "tests/security_sidechannel_attacks.rs"
[[test]]
name = "show_unredacted_tests"
path = "tests/show_unredacted_tests.rs"
[[test]]
name = "unified_wrap_tests"
path = "tests/unified_wrap_tests.rs"