[package]
name = "ffsend-api"
version = "0.6.0"
authors = ["Tim Visee <3a4fb3964f@sinenomine.email>"]
license = "MIT"
readme = "README.md"
homepage = "https://timvisee.com/projects/ffsend"
repository = "https://github.com/timvisee/ffsend-api"
documentation = "https://docs.rs/ffsend-api"
description = "A fully featured Firefox Send API client."
keywords = ["send", "firefox", "api"]
categories = [
"api-bindings",
"authentication",
"cryptography",
"network-programming",
]
edition = "2018"
build = "build.rs"
[badges]
gitlab = { repository = "timvisee/ffsend-api", branch = "master" }
[lib]
name = "ffsend_api"
path = "src/lib.rs"
[features]
default = ["send3", "crypto-ring"]
send2 = []
send3 = ["websocket"]
crypto-openssl = ["openssl", "reqwest/default-tls"]
crypto-ring = ["ring", "reqwest/rustls-tls"]
[dependencies]
arrayref = "0.3"
base64 = "0.12"
byteorder = "1.3"
bytes = "0.5"
chrono = { version = "0.4", features = ["serde"] }
derive_builder = "0.9"
failure = "0.1"
failure_derive = "0.1"
hkdf = "0.8"
hyper = "^0.13"
mime = "^0.3.7"
mime_guess = "2.0"
openssl = { version = "0.10", optional = true }
regex = "1.3"
reqwest = { version = "0.10.1", features = ["blocking", "json"] }
ring = { version = "0.16", optional = true }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
sha2 = "0.8"
time = "0.2"
url = { version = "2.1", features = ["serde"] }
version-compare = "0.0.10"
websocket = { version = "0.24", optional = true }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]