-
-
Notifications
You must be signed in to change notification settings - Fork 100
/
Cargo.toml
57 lines (53 loc) · 2.49 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
[workspace]
members = [
"bindings/nostr-sdk-ffi",
"bindings/nostr-sdk-js",
"crates/*",
]
exclude = [
"book/*"
]
default-members = ["crates/*"]
resolver = "2"
[workspace.package]
authors = ["Yuki Kishimoto <[email protected]>", "Rust Nostr Developers"]
homepage = "https://github.com/rust-nostr/nostr"
repository = "https://github.com/rust-nostr/nostr.git"
license = "MIT"
rust-version = "1.70.0"
[workspace.dependencies]
async-trait = "0.1"
async-utility = "0.3"
#async-wsocket = "0.11"
async-wsocket = { git = "https://github.com/yukibtc/async-wsocket", rev = "259c0bc372e7d60d94827b484178bf995afdcbe6" }
atomic-destructor = { version = "0.3", default-features = false }
js-sys = "0.3"
negentropy = { version = "0.4", default-features = false }
negentropy-deprecated = { package = "negentropy", version = "0.3", default-features = false }
nostr = { version = "0.37", path = "./crates/nostr", default-features = false }
nostr-connect = { version = "0.37", path = "./crates/nostr-connect", default-features = false }
nostr-database = { version = "0.37", path = "./crates/nostr-database", default-features = false }
nostr-indexeddb = { version = "0.37", path = "./crates/nostr-indexeddb", default-features = false }
nostr-lmdb = { version = "0.37", path = "./crates/nostr-lmdb", default-features = false }
nostr-ndb = { version = "0.37", path = "./crates/nostr-ndb", default-features = false }
nostr-relay-builder = { version = "0.37", path = "./crates/nostr-relay-builder", default-features = false }
nostr-relay-pool = { version = "0.37", path = "./crates/nostr-relay-pool", default-features = false }
nostr-sdk = { version = "0.37", path = "./crates/nostr-sdk", default-features = false }
nostr-zapper = { version = "0.37", path = "./crates/nostr-zapper", default-features = false }
nwc = { version = "0.37", path = "./crates/nwc", default-features = false }
once_cell = { version = "1.20", default-features = false }
serde_json = { version = "1.0", default-features = false }
thiserror = "1.0"
tokio = { version = ">=1.37", default-features = false }
tracing = { version = "0.1", default-features = false }
tracing-subscriber = "0.3"
wasm-bindgen = { version = "0.2", default-features = false }
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3", default-features = false }
[patch.crates-io]
# Patch needed to reduce bindings size
bip39 = { git = "https://github.com/rust-bitcoin/rust-bip39", rev = "256a00e7c23c5b2ecc04df90894f60248c8d56d5" }
[profile.release]
lto = true
codegen-units = 1
panic = "abort"