[package]
edition = "2021"
rust-version = "1.82"
name = "rtb-credentials"
version = "0.6.1"
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 = ["keyring/dbus-secret-service-keyring-store"]
[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.91"
[dependencies.keyring]
version = "4.1.5"
features = [
"v1",
"apple-native-keyring-store",
"windows-native-keyring-store",
"linux-keyutils-keyring-store",
]
default-features = false
[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"]
[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"