[package]
edition = "2021"
rust-version = "1.88"
name = "tsafe-core"
version = "1.0.13"
authors = ["Ryan Tilcock <ryan.tilcock@msamlin.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core runtime engine for tsafe — encrypted credential storage, process injection contracts, audit log, RBAC"
homepage = "https://github.com/0ryant/tsafe"
documentation = "https://docs.rs/tsafe-core"
readme = "README.md"
keywords = [
"secrets",
"vault",
"encryption",
"credentials",
"security",
]
categories = [
"cryptography",
"authentication",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/0ryant/tsafe"
[features]
biometric = []
default = []
fips = ["dep:aes-gcm"]
nats = ["dep:nats"]
[lib]
name = "tsafe_core"
path = "src/lib.rs"
[[test]]
name = "agent_adversarial"
path = "tests/agent_adversarial.rs"
[[test]]
name = "agent_biometric_recovery"
path = "tests/agent_biometric_recovery.rs"
[[test]]
name = "agent_stale_state"
path = "tests/agent_stale_state.rs"
[[test]]
name = "agent_windows_pipe_roundtrip"
path = "tests/agent_windows_pipe_roundtrip.rs"
[[test]]
name = "cloudevents_schema"
path = "tests/cloudevents_schema.rs"
[[test]]
name = "concurrency_stress"
path = "tests/concurrency_stress.rs"
[[test]]
name = "health_report"
path = "tests/health_report.rs"
[[test]]
name = "otel_no_plaintext"
path = "tests/otel_no_plaintext.rs"
[[test]]
name = "proptest_vault"
path = "tests/proptest_vault.rs"
[[test]]
name = "stale_biometric_vault_unlock"
path = "tests/stale_biometric_vault_unlock.rs"
[[test]]
name = "vault_locking_integrity"
path = "tests/vault_locking_integrity.rs"
[[bench]]
name = "vault_benches"
path = "benches/vault_benches.rs"
harness = false
[dependencies.aes-gcm]
version = "0.10"
optional = true
[dependencies.age]
version = "0.11"
features = ["armor"]
[dependencies.argon2]
version = "0.5"
[dependencies.base32]
version = "0.5"
[dependencies.base64]
version = "0.22"
[dependencies.chacha20poly1305]
version = "0.10"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.directories]
version = "5"
[dependencies.hkdf]
version = "0.12"
[dependencies.hmac]
version = "0.12"
[dependencies.keyring]
version = "3"
features = [
"apple-native",
"windows-native",
"sync-secret-service",
]
[dependencies.nats]
version = "0.26"
optional = true
[dependencies.rand]
version = "0.8"
features = ["std"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha1]
version = "0.10"
features = ["oid"]
package = "sha1"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "1"
[dependencies.tracing]
version = "0.1"
[dependencies.ureq]
version = "2"
features = ["json"]
[dependencies.uuid]
version = "1"
features = ["v4"]
[dependencies.zeroize]
version = "1"
features = ["derive"]
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.jsonschema]
version = "0.26"
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.temp-env]
version = "0.3"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
"fmt",
]
[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10"
[target.'cfg(target_os = "macos")'.dependencies.security-framework]
version = "3.7"
features = ["OSX_10_15"]
[target.'cfg(target_os = "macos")'.dependencies.security-framework-sys]
version = "2.17"
features = ["OSX_10_15"]
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
"Win32_Foundation",
"Win32_System_Threading",
]