-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
76 lines (66 loc) · 1.78 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
[workspace]
members = [
"api",
"cloud-relay",
"crdt",
"tlfsc",
".",
]
[package]
name = "tlfs"
version = "0.1.0"
edition = "2021"
description = "The Local First SDK"
repository = "https://github.com/cloudpeers/tlfs"
license = "MIT"
[profile.release]
lto = true
[dependencies]
anyhow = "1.0.51"
async-trait = "0.1.52"
bytecheck = "0.6.7"
ed25519-dalek = "1.0.1"
fnv = "1.0.7"
futures = "0.3.17"
libp2p-broadcast = "0.7.0"
libp2p-webrtc = "0.2.1"
log-panics = "2.0.0"
rkyv = "0.7.26"
tlfs-crdt = { version = "0.1.0", path = "crdt" }
tracing = { version = "0.1.29", default-features = false }
tracing-log = "0.1.2"
tracing-subscriber = { version = "0.3.3", default-features = false, features = ["env-filter", "fmt"] }
[dependencies.libp2p]
version = "0.42.0"
default-features = false
features = [
"dns-tokio",
"mdns",
"noise",
"ping",
"request-response",
"tcp-async-io",
"yamux",
]
[target.'cfg(target_arch = "wasm32")'.dependencies]
tracing-wasm = "0.2.1"
wasm-bindgen-futures = "0.4.28"
[target.'cfg(target_arch = "wasm32")'.dependencies.libp2p]
version = "0.42.0"
default-features = false
features = [
"wasm-bindgen",
"wasm-ext-websocket"
]
[dev-dependencies]
async-std = { version = "1.10.0", features = ["attributes"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
async-global-executor = { version = "2.0.2", features = ["tokio"] }
[target.'cfg(target_os = "android")'.dependencies]
tracing-android = "0.1.6"
[patch.crates-io]
#wait for new lip2p release
libp2p = { git = "https://github.com/libp2p/rust-libp2p", branch = "master" }
#wait for new lip2p release
libp2p-webrtc = { git = "https://github.com/wngr/libp2p-webrtc", branch = "tlfs" }
libp2p-broadcast = { git = "https://github.com/cloudpeers/libp2p-broadcast", branch = "tlfs" }