[package]
edition = "2021"
name = "mimosa"
version = "1.0.0"
authors = ["soywod <clement.douin@posteo.net>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI to manage passwords"
homepage = "https://pimalaya.org"
documentation = "https://github.com/pimalaya/mimosa"
readme = "README.md"
keywords = [
"cli",
"password",
"keyring",
"keychain",
"credential",
]
categories = ["command-line-utilities"]
license = "AGPL-3.0-only"
repository = "https://github.com/pimalaya/mimosa"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
apple-keychain = ["dep:apple-native-keyring-store"]
dbus-secret-service = ["dep:dbus-secret-service-keyring-store"]
default = [
"dbus-secret-service",
"apple-keychain",
"windows-credential-manager",
]
keyutils = ["dep:linux-keyutils-keyring-store"]
vendored = ["dbus-secret-service-keyring-store?/vendored"]
windows-credential-manager = ["dep:windows-native-keyring-store"]
zbus-secret-service = ["dep:zbus-secret-service-keyring-store"]
[lib]
name = "mimosa"
path = "src/lib.rs"
[[bin]]
name = "mimosa"
path = "src/main.rs"
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4.4"
features = [
"derive",
"wrap_help",
]
[dependencies.keyring-core]
version = "0.7"
[dependencies.log]
version = "0.4"
[dependencies.pimalaya-toolbox]
version = "0.0.4"
features = [
"config",
"terminal",
]
default-features = false
[dependencies.secrecy]
version = "0.10"
[dependencies.serde]
version = "1"
features = ["derive"]
[build-dependencies.pimalaya-toolbox]
version = "0.0.4"
features = ["build"]
default-features = false
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.dbus-secret-service-keyring-store]
version = "0.3"
features = ["crypto-rust"]
optional = true
default-features = false
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.zbus-secret-service-keyring-store]
version = "0.2"
features = ["rt-async-io-crypto-rust"]
optional = true
default-features = false
[target.'cfg(target_os = "linux")'.dependencies.linux-keyutils-keyring-store]
version = "0.2"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.apple-native-keyring-store]
version = "0.2"
features = ["keychain"]
optional = true
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.windows-native-keyring-store]
version = "0.5"
optional = true