[package]
edition = "2021"
name = "keyring-lib"
version = "1.0.3"
authors = ["soywod <clement.douin@posteo.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-level, asynchronous API for keyring-rs, a cross-platform Rust library to manage credentials"
homepage = "https://pimalaya.org/"
documentation = "https://docs.rs/keyring-lib/latest/keyring/"
readme = "README.md"
keywords = [
"password",
"credential",
"keychain",
"keyring",
"secret",
]
categories = ["asynchronous"]
license = "MIT"
repository = "https://github.com/pimalaya/core/tree/master/keyring/"
[package.metadata.docs.rs]
features = ["derive"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
async-std = [
"dep:async-std",
"keyring-native/async-io",
]
default = [
"tokio",
"rustls",
]
derive = ["dep:serde"]
openssl = ["keyring-native/crypto-openssl"]
rustls = ["keyring-native/crypto-rust"]
tokio = [
"dep:tokio",
"keyring-native/tokio",
]
vendored = ["keyring-native/vendored"]
[lib]
name = "keyring"
path = "src/lib.rs"
[[test]]
name = "main"
path = "tests/main.rs"
[dependencies.async-std]
version = "1.13"
optional = true
[dependencies.keyring-native]
version = "3"
features = [
"linux-native-async-persistent",
"apple-native",
"windows-native",
]
default-features = false
package = "keyring"
[dependencies.once_cell]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1.23"
optional = true
default-features = false
[dependencies.tracing]
version = "0.1"
[dev-dependencies.async-std]
version = "1.13"
features = ["attributes"]
[dev-dependencies.test-log]
version = "0.2"
features = [
"color",
"trace",
]
default-features = false
[dev-dependencies.tokio]
version = "1.23"
features = ["full"]