forked from axolotl-chat/presage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
67 lines (58 loc) · 1.94 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]
# be a sign or warning of (an imminent event, typically an unwelcome one).
name = "presage"
version = "0.4.0"
authors = ["Gabriel Féron <[email protected]>"]
edition = "2021"
[dependencies]
libsignal-service = { git = "https://github.com/whisperfish/libsignal-service-rs", rev = "456bf6eb2e4454ce35bdb4ca75b8dba7941c2923" }
libsignal-service-hyper = { git = "https://github.com/whisperfish/libsignal-service-rs.git", rev = "456bf6eb2e4454ce35bdb4ca75b8dba7941c2923" }
async-trait = "0.1"
base64 = "0.12"
bytes = "1"
fs_extra = "1.2"
futures = "0.3"
hex = "0.4.2"
log = "0.4.8"
prost = "0.10"
rand = "0.7"
serde = "1.0"
serde_json = "1.0"
sha2 = "0.10"
thiserror = "1.0"
url = "2.2.2"
# specific to store impl
libsodium-sys = { version = "0.2.7", optional = true }
matrix-sdk-store-encryption = { version = "0.2.0", optional = true }
secrets = { version = "1.2.0", features = ["use-libsodium-sys"], optional = true }
sled = { version = "0.34", optional = true }
[build-dependencies]
prost-build = "0.10"
[dev-dependencies]
# for tests
quickcheck = "1.0.3"
quickcheck_async = "0.1"
# for examples
anyhow = "1.0"
chrono = { version = "0.4", default-features = false, features = ["serde", "clock"] }
clap = { version = "3.0", features = ["derive"] }
directories = "3.0"
env_logger = "0.7"
futures = "0.3"
hex = "0.4"
log = "0.4"
mime_guess = "2.0"
rand = "0.7"
serde_json = "1.0"
tempfile = "3.3"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "io-std", "io-util"] }
qr2term = { version = "0.2.2" }
[features]
default = ["sled-store"]
quirks = []
sled-store = ["sled", "matrix-sdk-store-encryption"]
# [patch."https://github.com/whisperfish/libsignal-service-rs.git"]
# libsignal-service = { path = "../libsignal-service-rs/libsignal-service" }
# libsignal-service-hyper = { path = "../libsignal-service-rs/libsignal-service-hyper" }
[patch.crates-io]
"curve25519-dalek" = { git = 'https://github.com/signalapp/curve25519-dalek', branch = 'lizard2' }