[go: up one dir, main page]

keyring 3.3.0

Cross-platform library for managing passwords/credentials
Documentation
[dependencies.openssl]
optional = true
version = "0.10.55"

[dev-dependencies.base64]
version = "0.22"

[dev-dependencies.clap]
features = ["derive", "wrap_help"]
version = "4"

[dev-dependencies.doc-comment]
version = "0.3"

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.rpassword]
version = "7"

[dev-dependencies.rprompt]
version = "2"

[dev-dependencies.whoami]
version = "1"

[[example]]
crate-type = ["staticlib"]
name = "iostest"
path = "examples/ios.rs"

[[example]]
name = "keyring-cli"
path = "examples/cli.rs"

[features]
apple-native = ["dep:security-framework"]
async-io = ["zbus?/async-io"]
async-secret-service = ["dep:secret-service", "dep:zbus"]
crypto-openssl = ["dbus-secret-service?/crypto-openssl", "secret-service?/crypto-openssl"]
crypto-rust = ["dbus-secret-service?/crypto-rust", "secret-service?/crypto-rust"]
linux-native = ["dep:linux-keyutils"]
sync-secret-service = ["dep:dbus-secret-service"]
tokio = ["zbus?/tokio"]
vendored = ["dbus-secret-service?/vendored", "openssl?/vendored"]
windows-native = ["dep:windows-sys", "dep:byteorder"]

[lib]
name = "keyring"
path = "src/lib.rs"

[package]
authors = ["Walther Chen <walther.chen@gmail.com>", "Daniel Brotsky <dev@brotsky.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Cross-platform library for managing passwords/credentials"
edition = "2021"
exclude = [".github/"]
homepage = "https://github.com/hwchen/keyring-rs"
keywords = ["password", "credential", "keychain", "keyring", "cross-platform"]
license = "MIT OR Apache-2.0"
name = "keyring"
readme = "README.md"
repository = "https://github.com/hwchen/keyring-rs.git"
rust-version = "1.75"
version = "3.3.0"

[package.metadata.docs.rs]
features = ["apple-native", "windows-native", "sync-secret-service", "crypto-rust"]

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.security-framework]
optional = true
version = "2"

[target.'cfg(target_os = "freebsd")'.dependencies.dbus-secret-service]
optional = true
version = "4.0.1"

[target.'cfg(target_os = "freebsd")'.dependencies.secret-service]
optional = true
version = "4"

[target.'cfg(target_os = "freebsd")'.dependencies.zbus]
optional = true
version = "4"

[target.'cfg(target_os = "linux")'.dependencies.dbus-secret-service]
optional = true
version = "4.0.0-rc.2"

[target.'cfg(target_os = "linux")'.dependencies.linux-keyutils]
features = ["std"]
optional = true
version = "0.2"

[target.'cfg(target_os = "linux")'.dependencies.secret-service]
optional = true
version = "4"

[target.'cfg(target_os = "linux")'.dependencies.zbus]
optional = true
version = "4"

[target.'cfg(target_os = "openbsd")'.dependencies.dbus-secret-service]
optional = true
version = "4.0.0-rc.1"

[target.'cfg(target_os = "openbsd")'.dependencies.secret-service]
optional = true
version = "4"

[target.'cfg(target_os = "openbsd")'.dependencies.zbus]
optional = true
version = "4"

[target.'cfg(target_os = "windows")'.dependencies.byteorder]
optional = true
version = "1.2"

[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_Security_Credentials"]
optional = true
version = "0.59"

[[test]]
name = "basic"
path = "tests/basic.rs"

[[test]]
name = "threading"
path = "tests/threading.rs"