Skip to content
Discussion options

You must be logged in to vote

Finally resolved the tokio conflict and from the info from oblique and have a compiled realese (after over 7 days!! nightmare)

still not sure why getrandom v0.2.16 vs v0.2.15 on libp2p2 tree. maybe this has to do with the (*).

Here is the config that could help anyone else to solve WASM integration

**root cargo
getrandom = { version = "0.3.4"}
getrandom_02 = { version = "0.2.16"}
ed25519-dalek = { version = "2.1.1", features = ["rand_core"] } # include 'getrandom' feature

**package\core\Cargo
getrandom = { workspace = true }
ed25519-dalek = { workspace = true }
...

WASM-specific (for browser compatibility)
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys = { workspace = true, f…

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@oblique
Comment options

@fgtest1
Comment options

@dariusc93
Comment options

@fgtest1
Comment options

@fgtest1
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by elenaf9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants