[package]
edition = "2021"
rust-version = "1.82"
name = "rtb-credentials"
version = "0.5.2"
authors = ["Matt Cockayne <matt@phpboyscout.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust Tool Base — OS keychain credential storage."
homepage = "https://rtb.phpboyscout.uk"
documentation = "https://rtb.phpboyscout.uk"
readme = "README.md"
keywords = [
"cli",
"framework",
"scaffolding",
"ai",
"mcp",
]
categories = [
"command-line-interface",
"development-tools",
]
license = "MIT"
repository = "https://gitlab.com/phpboyscout/rust-tool-base"
[features]
default = []
linux-persistent = ["keyring/sync-secret-service"]
[lib]
name = "rtb_credentials"
path = "src/lib.rs"
[[test]]
name = "bdd"
path = "tests/bdd.rs"
[[test]]
name = "credential_bearing"
path = "tests/credential_bearing.rs"
[[test]]
name = "unit"
path = "tests/unit.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.keyring]
version = "3"
features = [
"apple-native",
"windows-native",
"linux-native",
]
default-features = false
[dependencies.miette]
version = "7"
features = ["fancy"]
[dependencies.secrecy]
version = "0.10"
features = ["serde"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1.47"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.zeroize]
version = "1"
[dev-dependencies.cucumber]
version = "0.21"
features = ["macros"]
[dev-dependencies.insta]
version = "1"
features = [
"yaml",
"json",
]
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"