# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "wasm-streams" version = "0.4.2" authors = ["Mattias Buelens "] build = false exclude = [".github/"] autobins = false autoexamples = false autotests = false autobenches = false description = """ Bridging between web streams and Rust streams using WebAssembly """ readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/MattiasBuelens/wasm-streams/" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [lib] name = "wasm_streams" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [[example]] name = "fetch_as_stream" path = "examples/fetch_as_stream.rs" [[test]] name = "node" path = "tests/node.rs" [[test]] name = "unit" path = "tests/unit.rs" [[test]] name = "web" path = "tests/web.rs" [dependencies.futures-util] version = "^0.3.31" features = [ "io", "sink", ] [dependencies.js-sys] version = "^0.3.72" [dependencies.wasm-bindgen] version = "0.2.95" [dependencies.wasm-bindgen-futures] version = "^0.4.45" [dependencies.web-sys] version = "^0.3.72" features = [ "AbortSignal", "QueuingStrategy", "ReadableStream", "ReadableStreamType", "ReadableWritablePair", "ReadableStreamByobReader", "ReadableStreamReaderMode", "ReadableStreamReadResult", "ReadableStreamByobRequest", "ReadableStreamDefaultReader", "ReadableByteStreamController", "ReadableStreamGetReaderOptions", "ReadableStreamDefaultController", "StreamPipeOptions", "TransformStream", "TransformStreamDefaultController", "Transformer", "UnderlyingSink", "UnderlyingSource", "WritableStream", "WritableStreamDefaultController", "WritableStreamDefaultWriter", ] [dev-dependencies.gloo-timers] version = "^0.3.0" features = ["futures"] [dev-dependencies.pin-project] version = "^1" [dev-dependencies.tokio] version = "^1" features = [ "macros", "rt", ] [dev-dependencies.wasm-bindgen-test] version = "0.3.45" [dev-dependencies.web-sys] version = "^0.3.72" features = [ "console", "AbortSignal", "ErrorEvent", "PromiseRejectionEvent", "Response", "ReadableStream", "Window", ]