[package]
edition = "2021"
rust-version = "1.88"
name = "rtb-credentials"
version = "0.6.6"
authors = ["Matt Cockayne <matt@phpboyscout.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OS keychain credential storage. Part of the phpboyscout Rust toolkit."
homepage = "https://credentials.rust.phpboyscout.uk"
documentation = "https://docs.rs/rtb-credentials"
readme = "README.md"
keywords = [
"credentials",
"keychain",
"keyring",
"secrets",
"security",
]
categories = [
"authentication",
"os",
"development-tools",
]
license = "MIT"
repository = "https://gitlab.com/phpboyscout/rust/credentials"
[features]
default = []
linux-persistent = []
[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.92"
[dependencies.keyring-core]
version = "1.0.1"
[dependencies.miette]
version = "7.6.0"
features = ["fancy"]
[dependencies.secrecy]
version = "0.10.3"
features = ["serde"]
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.thiserror]
version = "2.0.19"
[dependencies.tokio]
version = "1.53.0"
features = ["full"]
[dev-dependencies.cucumber]
version = "0.23.0"
features = ["macros"]
[target.'cfg(all(unix, not(any(target_os = "macos", target_os = "ios", target_os = "android"))))'.dependencies.dbus-secret-service-keyring-store]
version = "1.0.1"
features = [
"crypto-rust",
"vendored",
]
[target.'cfg(target_os = "macos")'.dependencies.apple-native-keyring-store]
version = "1.0.2"
features = ["keychain"]
[target.'cfg(target_os = "windows")'.dependencies.windows-native-keyring-store]
version = "1.1.0"
[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"