fix web build
This commit is contained in:
10
Cargo.toml
10
Cargo.toml
@@ -44,11 +44,21 @@ smallvec = "1.14.0"
|
||||
smol = "2"
|
||||
webbrowser = "1.0.4"
|
||||
tracing-subscriber = { version = "0.3.18", features = ["fmt", "env-filter"] }
|
||||
errno = { version = "0.3.14", default-features = false }
|
||||
|
||||
[patch.crates-io]
|
||||
# Use stacker's psm version which may have better WASM support
|
||||
psm = { git = "https://github.com/rust-lang/stacker", branch = "master" }
|
||||
|
||||
# Use send-bound branch for all nostr crates
|
||||
nostr = { git = "https://github.com/rust-nostr/nostr", branch = "send-bound" }
|
||||
nostr-sdk = { git = "https://github.com/rust-nostr/nostr", branch = "send-bound" }
|
||||
nostr-lmdb = { git = "https://github.com/rust-nostr/nostr", branch = "send-bound" }
|
||||
nostr-memory = { git = "https://github.com/rust-nostr/nostr", branch = "send-bound" }
|
||||
nostr-blossom = { git = "https://github.com/rust-nostr/nostr", branch = "send-bound" }
|
||||
nostr-gossip-memory = { git = "https://github.com/rust-nostr/nostr", branch = "send-bound" }
|
||||
nostr-connect = { git = "https://github.com/rust-nostr/nostr", branch = "send-bound" }
|
||||
|
||||
[profile.release]
|
||||
strip = true
|
||||
opt-level = "z"
|
||||
|
||||
Reference in New Issue
Block a user