# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "interfacer-http" version = "0.2.2" authors = ["Hexilee "] description = "A magic HTTP client, like retrofit in Java" documentation = "https://docs.rs/interfacer-http" readme = "README.md" keywords = ["http", "client", "interfacer"] categories = ["network-programming", "web-programming::http-client"] license = "MIT" repository = "https://github.com/Hexilee/interfacer-http" [[test]] name = "http-service" path = "proc-macro-tests/http_service.rs" required-features = ["derive", "serde-full", "runtime", "mock"] edition = "2018" [dependencies.async-trait] version = "0.1" [dependencies.cookie] version = "0.12" [dependencies.derive_more] version = "0.15" [dependencies.http] version = "0.1" [dependencies.interfacer-http-attribute] version = "0.2" [dependencies.lib-encoding] version = "0.2" optional = true package = "encoding" [dependencies.mime] version = "0.3" [dependencies.rmp-serde] version = "0.13" optional = true [dependencies.serde] version = "1.0" optional = true [dependencies.serde-xml-rs] version = "0.3" optional = true [dependencies.serde_derive] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.serde_urlencoded] version = "0.6" optional = true [dependencies.tokio] version = "0.2.0-alpha.4" optional = true [dependencies.unhtml] version = "0.7" optional = true [dependencies.unhtml_derive] version = "0.7" optional = true [dependencies.url] version = "2" [features] derive = ["serde_derive", "unhtml_derive"] encoding = ["lib-encoding"] mock = [] runtime = ["tokio"] serde-base = ["serde"] serde-full = ["serde", "serde_json", "rmp-serde", "serde_urlencoded", "serde-xml-rs"] serde-json = ["serde_json"] serde-msgpack = ["rmp-serde"] serde-urlencoded = ["serde_urlencoded"] serde-xml = ["serde-xml-rs"] unhtml-html = ["unhtml"]