-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Cargo.toml
67 lines (59 loc) · 1.57 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[package]
name = "ffsend-api"
version = "0.7.3"
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"
[lib]
name = "ffsend_api"
path = "src/lib.rs"
[features]
default = ["send3", "crypto-ring"]
# Support for Firefox Send v2
send2 = ["reqwest/multipart"]
# Support for Firefox Send v3
send3 = ["websocket"]
# Crypto: openssl backend
crypto-openssl = ["openssl", "reqwest/default-tls"]
# Crypto: ring backend
crypto-ring = ["ring", "reqwest/rustls-tls"]
[dependencies]
anyhow = "1.0"
arrayref = "0.3"
base64 = "0.13"
byteorder = "1.3"
bytes = "1.0"
chrono = { version = "0.4", features = ["serde"] }
derive_builder = "0.9"
hkdf = "0.11"
hyper = "^0.14" # same as reqwest
mime = "^0.3.7" # same as reqwest
mime_guess = "2.0"
openssl = { version = "0.10", optional = true }
regex = "1.3"
reqwest = { version = "0.11", features = ["blocking", "json"] }
ring = { version = "0.16", optional = true }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
sha2 = "0.9"
thiserror = "1.0"
time = "0.2"
url = { version = "2.1", features = ["serde"] }
version-compare = "0.1"
websocket = { version = "0.26", optional = true }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]