4 releases (2 breaking)

Uses new Rust 2024

0.3.1 Apr 27, 2026
0.3.0 Apr 7, 2026
0.2.0 Feb 22, 2026
0.1.1 Jan 29, 2026

#640 in Compression


Used in 10 crates (6 directly)

MIT/Apache

110KB
2K SLoC

rong_stream

Web Streams API implementation providing globally available streaming primitives.

JS APIs

  • ReadableStream — readable stream of data
    • getReader() — acquire a reader for pull-based consumption
    • pipeTo(writable) — pipe to a writable stream
    • pipeThrough(transform) — pipe through an object exposing readable and writable
  • WritableStream — writable stream of data
    • getWriter() — acquire a writer for push-based writing
  • CompressionStream — transform-like stream for gzip, deflate, and deflate-raw
    • readable — compressed output stream
    • writable — uncompressed input stream
  • DecompressionStream — transform-like stream for gzip, deflate, and deflate-raw
    • readable — decompressed output stream
    • writable — compressed input stream

Dependencies

~20–44MB
~776K SLoC