[package]
name = "rbw"
version = "1.4.0"
authors = ["Jesse Luehrs <doy@tozt.net>"]
edition = "2018"

description = "Unofficial Bitwarden CLI"
repository = "https://git.tozt.net/rbw"
readme = "README.md"
keywords = ["bitwarden"]
categories = ["command-line-utilities", "cryptography"]
license = "MIT"

[dependencies]
aes = "0.7"
anyhow = "1.0"
arrayvec = "0.7"
async-trait = "0.1"
base32 = "0.4"
base64 = "0.13"
block-modes = "0.8"
block-padding = "0.2"
daemonize = "0.4"
directories = "4.0"
env_logger = "0.9"
hkdf = "0.11"
hmac = { version = "0.11", features = ["std"] }
humantime = "2.1"
libc = "0.2"
log = "0.4"
nix = "0.23"
paw = "1.0"
pbkdf2 = "0.9"
percent-encoding = "2.1"
rand = "0.8"
region = "3.0"
reqwest = { version = "0.11", default-features = false, features = ["blocking", "json", "rustls-tls-native-roots"] }
rsa = "0.5"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_path_to_error = "0.1"
serde_repr = "0.1"
sha-1 = "0.9"
sha2 = "0.9"
structopt = { version = "0.3", features = ["paw", "wrap_help"] }
tempfile = "3.2"
term_size = "0.3"
textwrap = "0.11"
thiserror = "1.0"
tokio = { version = "1.12", features = ["full"] }
totp-lite = "1.0"
url = "2.2"
uuid = { version = "0.8", features = ["v4"] }
zeroize = "1.4"

[package.metadata.deb]
depends = "pinentry"
license-file = ["LICENSE"]
assets = [
    ["target/release/rbw", "usr/bin/", "755"],
    ["target/release/rbw-agent", "usr/bin/", "755"],
    ["target/release/completion/bash", "usr/share/bash-completion/completions/rbw", "644"],
    ["target/release/completion/zsh", "usr/share/zsh/vendor-completions/_rbw", "644"],
    ["target/release/completion/fish", "usr/share/fish/completions/rbw.fish", "644"],
    ["README.md", "usr/share/doc/rbw/README", "644"],
]
