nervosnetwork / tentacle

A multiplexed p2p network framework that supports custom protocols
https://docs.rs/tentacle
MIT License
54 stars 24 forks source link

feat: optimizing wasm experience #375

Closed driftluo closed 3 weeks ago

driftluo commented 3 weeks ago
  1. Change target_arch = "wasm32" to target_family = "wasm"
  2. Fixed the issue that trait cannot impl Send in wasm
  3. Export MissedTickBehavior on Interval
  4. Optimize the timeout implementation of Yamux in WASM, use web-time on the browser, and use session-independent atomic size in WASI(Currently, tentacle does not support WASI, but Yamux and secio do.)
  5. Upgrade all dep (Requires rust version >= 1.80)