# 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.64" name = "gloo-file" version = "0.3.0" authors = ["Rust and WebAssembly Working Group"] description = "Convenience crate for working with JavaScript files and blobs" homepage = "https://github.com/rustwasm/gloo" readme = "README.md" categories = [ "api-bindings", "asynchronous", "wasm", ] license = "MIT OR Apache-2.0" repository = "https://github.com/rustwasm/gloo/tree/master/crates/file" [package.metadata.docs.rs] features = ["futures"] [dependencies.futures-channel] version = "0.3" optional = true [dependencies.gloo-events] version = "0.2" [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"]