# 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 = "2018" name = "nightfly" version = "0.1.6" authors = ["Yuriy Voshchepynets "] autotests = true description = "higher level HTTP client library for the lunatic runtime" documentation = "https://docs.rs/nightfly" readme = "README.md" keywords = [ "http", "request", "client", ] categories = [ "web-programming::http-client", "wasm", ] license = "MIT/Apache-2.0" repository = "https://github.com/SquattingSocrates/nightfly" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] targets = ["wasm32-wasi"] [package.metadata.playground] features = ["json"] [[example]] name = "blocking" path = "examples/blocking.rs" [[example]] name = "json_dynamic" path = "examples/json_dynamic.rs" [[example]] name = "json_typed" path = "examples/json_typed.rs" [[example]] name = "form" path = "examples/form.rs" [[example]] name = "simple" path = "examples/simple.rs" [[test]] name = "blocking" path = "tests/blocking.rs" [[test]] name = "cookie" path = "tests/cookie.rs" required-features = ["cookies"] [[test]] name = "gzip" path = "tests/gzip.rs" [[test]] name = "brotli" path = "tests/brotli.rs" [[test]] name = "deflate" path = "tests/deflate.rs" [[test]] name = "chunked" path = "tests/chunked.rs" [dependencies.base64] version = "0.13" [dependencies.brotli] version = "3.3.4" [dependencies.bytes] version = "1.0" [dependencies.cookie_crate] version = "0.15" optional = true package = "cookie" [dependencies.cookie_store] version = "0.15" optional = true [dependencies.encoding_rs] version = "0.8.31" [dependencies.flate2] version = "^1.0.24" [dependencies.http] version = "0.2" [dependencies.http-body] version = "0.4.5" [dependencies.httparse] version = "1.7.1" [dependencies.ipnet] version = "2.5.0" [dependencies.lunatic] version = "0.13.1" [dependencies.lunatic-log] version = "0.4" [dependencies.mime] version = "0.3.16" [dependencies.mime_guess] version = "2.0" optional = true default-features = false [dependencies.percent-encoding] version = "2.2.0" [dependencies.proc-macro-hack] version = "0.5.19" optional = true [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" [dependencies.serde_urlencoded] version = "0.7.1" [dependencies.thiserror] version = "1.0" [dependencies.tower-service] version = "0.3" [dependencies.url] version = "2.2" features = ["serde"] [dev-dependencies.submillisecond] version = "0.3" features = [ "cookies", "json", "logging", "query", "websocket", ] [features] cookies = [ "cookie_crate", "cookie_store", "proc-macro-hack", ] default = ["cookies"]