# 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" rust-version = "1.80" name = "ianaio-file" version = "0.1.0" authors = ["Jaroslaw Cichon IanaIO Rust and WebAssembly Working Group"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Convenience crate for working with JavaScript files and blobs" homepage = "https://rustwasm.iana.io/file" documentation = "https://docs.iana.io/rustwasm/file" readme = "README.md" categories = [ "api-bindings", "asynchronous", "wasm", ] license-file = "LICENSE.txt" repository = "https://github.com/ianaio/file" [package.metadata.docs.rs] features = ["futures"] [lib] name = "ianaio_file" path = "src/lib.rs" [[test]] name = "web" path = "tests/web.rs" [dependencies.futures-channel] version = "0.3" optional = true [dependencies.ianaio-events] version = "0.1.0" [dependencies.js-sys] version = "0.3.31" [dependencies.mime] version = "0.3.13" optional = true [dependencies.wasm-bindgen] version = "0.2" [dependencies.web-sys] version = "0.3.31" features = [ "Blob", "File", "FileList", "FileReader", "HtmlInputElement", "BlobPropertyBag", "FilePropertyBag", "DomException", "Url", ] [dev-dependencies.chrono] version = "0.4.10" features = ["wasmbind"] [dev-dependencies.futures_rs] version = "0.3" package = "futures" [dev-dependencies.wasm-bindgen-futures] version = "0.4" [dev-dependencies.wasm-bindgen-test] version = "0.3.4" [dev-dependencies.web-sys] version = "0.3.31" features = [ "Window", "Response", ] [features] default = [] futures = ["futures-channel"]