[package]
edition = "2021"
rust-version = "1.88.0"
name = "nu_plugin_secret"
version = "0.6.0"
authors = ["John Ky <newhoggy@gmail.com>"]
build = false
exclude = [
"**/*.bak",
"tests/nushell/target/**",
"target/**",
"**/.DS_Store",
]
include = [
"src/**/*.rs",
"tests/**/*.rs",
"tests/**/*.nu",
"benches/**/*.rs",
"docs/**/*.md",
"README.md",
"LICENSE",
"CHANGELOG.md",
"Cargo.toml",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Production-grade secret handling plugin for Nushell with secure CustomValue types that prevent accidental exposure of sensitive data"
homepage = "https://github.com/nushell-works/nu_plugin_secret"
documentation = "https://docs.rs/nu_plugin_secret/"
readme = "README.md"
keywords = [
"nushell",
"secret",
"security",
"plugin",
"custom-types",
]
categories = [
"command-line-utilities",
"development-tools",
"cryptography",
"data-structures",
]
license = "BSD-3-Clause"
repository = "https://github.com/nushell-works/nu_plugin_secret"
[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"
search = '## \[Unreleased\]'
replace = """
## [Unreleased]
## [{{version}}] - {{date}}"""
[[package.metadata.release.pre-release-replacements]]
file = "README.md"
search = 'nu_plugin_secret = "[^"]*"'
replace = 'nu_plugin_secret = "{{version}}"'
[badges.codecov]
branch = "main"
repository = "nushell-works/nu_plugin_secret"
service = "github"
[badges.maintenance]
status = "actively-developed"
[lib]
name = "nu_plugin_secret"
path = "src/lib.rs"
[[bin]]
name = "nu_plugin_secret"
path = "src/main.rs"
[[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"
[[test]]
name = "wrap_with_complex_types_integration"
path = "tests/wrap_with_complex_types_integration.rs"
[[bench]]
name = "performance_regression"
path = "benches/performance_regression.rs"
harness = false
[[bench]]
name = "plugin_startup"
path = "benches/plugin_startup.rs"
harness = false
[[bench]]
name = "secret_performance"
path = "benches/secret_performance.rs"
harness = false
[dependencies.bincode]
version = "1.3"
[dependencies.blake3]
version = "1.5"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.dirs]
version = "6.0"
[dependencies.hex]
version = "0.4"
[dependencies.nu-plugin]
version = "0.110.0"
[dependencies.nu-protocol]
version = "0.110.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.sha2]
version = "0.10"
[dependencies.tera]
version = "1.20"
[dependencies.thiserror]
version = "2.0"
[dependencies.toml]
version = "0.8"
[dependencies.typetag]
version = "0.2"
[dependencies.zeroize]
version = "1.8"
features = ["derive"]
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.nu-test-support]
version = "0.110.0"
[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"
[profile.dev]
debug = 2
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
[profile.test]
debug = 2