-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
123 lines (108 loc) · 3.38 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[workspace.package]
version = "0.1.0"
edition = "2021"
license = "MIT"
rust-version = "1.67"
repository = "https://github.com/Satellite-im/Warp"
[workspace]
members = [
"extensions/*",
"warp",
"tools/*",
"extensions/warp-ipfs/shuttle",
"extensions/warp-ipfs/examples/wasm-ipfs-identity",
"extensions/warp-ipfs/examples/wasm-ipfs-friends",
"extensions/warp-ipfs/examples/wasm-ipfs-storage",
]
exclude = ["deprecated/*", "tools/opencv-test", "tools/video-codec-cli", "extensions/warp-blink-wrtc", "tools/blink-repl", "tools/audio-codec-repl"]
resolver = "2"
[workspace.dependencies]
# Async and futures crates
futures = { version = "0.3", default-features = false, features = ["std"] }
futures-timer = "3.0.3"
futures-timeout = "0.1.0"
async-trait = { version = "0.1" }
async-stream = "0.3"
async-broadcast = "0.5"
pollable-map = "0.1.0-alpha.1"
tokio = { version = "1", features = [
"macros",
"fs",
"net",
"rt-multi-thread",
"sync",
"time",
] }
tokio-util = { version = "0.7" }
tokio-stream = { version = "0.1" }
# Crypto crates
ed25519-dalek = { version = "1", default-features = false }
sha2 = { version = "0.10" }
hmac = { version = "0.12.0", default-features = false }
digest = { version = "0.10" }
aes-gcm = { version = "0.10" }
zeroize = "1"
rand = { version = "0.8" }
multihash = { version = "0.18" }
did-key = { git = "https://github.com/Satellite-im/did-key.rs", branch = "backport-patch-v0" }
tiny-bip39 = "1.0"
# Error handling crates
anyhow = { version = "1" }
thiserror = "1.0"
# Sync crates
parking_lot = { version = "0.12" }
once_cell = "1.16"
# Time crate
chrono = { version = "~0.4.27", default-features = false, features = [
"serde",
"wasmbind",
"now",
] }
# Encoding and Serializing Crates
serde = { version = "1.0", features = ["derive", "rc"] }
serde_json = { version = "1.0" }
serde_cbor = "0.11.2"
cbor4ii = { version = "0.3.2", features = ["serde1", "use_std"] }
serde_yaml = "0.9"
toml = "0.5"
bs58 = "0.4"
hex = "0.4"
ipld-core = { version = "0.4.1" }
bytes = { version = "1", features = ["serde"] }
bincode = "1"
image = { version = "0.25.2", default-features = false, features = [
"default-formats",
] }
mediatype = { version = "0.19", features = ["serde"] }
# Misc
dyn-clone = "1.0"
uuid = { version = "1", features = ["serde", "v4"] }
derive_more = "0.99"
paste = "1.0"
tracing = { version = "0.1" }
either = "1"
void = "1"
indexmap = { version = "2.4.0", features = ["serde"] }
# ipfs dependency
rust-ipfs = "0.12.2"
# wasm crates
wasm-bindgen = "0.2"
gloo = "0.7"
web-sys = "0.3"
js-sys = "0.3"
console_error_panic_hook = "0.1.7"
wasm-streams = "0.4"
wasm-bindgen-futures = "0.4"
serde-wasm-bindgen = "0.4"
send_wrapper = "0.6.0"
tracing-wasm = "0.2.0"
# Blink related crates
# av-data is needed to use libaom. need to ensure that Warp and libaom use the same version of av-data
av-data = "*"
libaom = { git = "https://github.com/Satellite-im/aom-rs", branch = "feat/windows-build" }
mp4 = { git = "https://github.com/satellite-im/mp4-rust", rev = "9abb40d9a7690c3d5012a9f259f4b22adab06ec3" }
eye = { git = "https://github.com/raymanfx/eye-rs.git", rev = "24324eb629dd73f349d0b4678cb0dd4dc5d75f1c" }
opus = { git = "https://github.com/Satellite-im/opus-rs", rev = "893b9f7e7e0cd00d13a64533967c6d2d6b1cb044" }
warp = { path = "./warp" }
warp-ipfs = { path = "./extensions/warp-ipfs" }
warp-blink-wrtc = { path = "./extensions/warp-blink-wrtc" }