-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
46 lines (43 loc) · 1.34 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
[package]
name = "threema-gateway"
version = "0.18.0"
authors = ["Danilo Bargen <[email protected]>"]
documentation = "https://docs.rs/threema-gateway"
repository = "https://github.com/dbrgn/threema-gateway-rs"
license = "MIT OR Apache-2.0"
description = "A client library for the Threema Gateway."
readme = "README.md"
keywords = ["threema", "end-to-end", "e2e", "e2ee", "gateway"]
include = [
"**/*.rs",
"Cargo.toml",
"README.md",
"CHANGELOG.md",
"LICENSE-MIT",
"LICENSE-APACHE",
]
edition = "2021"
[features]
default = ["receive"]
receive = ["form_urlencoded", "serde_urlencoded"] # Support for receiving and decrypting incoming messages
[dependencies]
byteorder = "1.0"
crypto_box = "0.9.1"
crypto_secretbox = "0.1.1"
data-encoding = "2.1"
form_urlencoded = { version = "1", optional = true }
hmac = "0.12.1"
log = "0.4"
reqwest = { version = "0.12", features = ["rustls-tls-native-roots", "multipart"], default-features = false }
rand = "0.8.5"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_urlencoded = { version = "0.7", optional = true }
sha2 = "0.10.8"
thiserror = "1"
zeroize = { version = "1", features = ["zeroize_derive"], default-features = false }
[dev-dependencies]
docopt = "1.1.0"
mime_guess = "2.0.0"
tokio = { version = "1", features = ["macros", "rt"], default-features = false }
tokio-test = "0.4"