# 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 = "http_api_service" version = "0.3.2" authors = ["JunYi JohnTeee Lee "] include = ["src/**/*.rs", "Cargo.toml"] description = "A Retrofit inspired implementation for Rust." homepage = "https://github.com/TeaEntityLab/httpAPIService" documentation = "https://docs.rs/http_api_service/" readme = "README.md" keywords = ["retrofit", "http", "api", "binding", "hyper"] license = "MIT" repository = "https://github.com/TeaEntityLab/httpAPIService" [lib] name = "http_api_service" path = "src/lib.rs" [[test]] name = "ureq_simple_http" path = "tests/ureq_simple_http.rs" required-features = ["test_runtime"] [[test]] name = "ureq_simple_api" path = "tests/ureq_simple_api.rs" required-features = ["test_runtime"] [[test]] name = "hyper_simple_http" path = "tests/hyper_simple_http.rs" required-features = ["test_runtime"] [[test]] name = "hyper_simple_api" path = "tests/hyper_simple_api.rs" required-features = ["test_runtime"] [dependencies.bytes] version = "^1.0.0" [dependencies.formdata] version = "^0.13.0" optional = true [dependencies.fp_rust] version = "^0.3.5" features = ["for_futures"] optional = true default-features = false [dependencies.futures] version = "0.3" features = ["thread-pool"] default-features = false [dependencies.http] version = "^0.2.4" optional = true [dependencies.hyper] version = "^0.14.0" features = ["client", "http1", "http2", "stream", "tcp"] optional = true [dependencies.mime] version = "^0.3.0" optional = true [dependencies.multer] version = "^2.0.0" optional = true [dependencies.serde] version = "^1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "^1.0" optional = true [dependencies.tokio] version = "^1.8.0" features = ["time", "macros"] optional = true [dependencies.ureq] version = "^2.1.0" features = ["tls"] optional = true [dependencies.url] version = "^2.2.0" [features] default = ["for_hyper", "multipart", "for_serde"] for_hyper = ["hyper", "tokio", "http"] for_serde = ["serde", "serde_json"] for_ureq = ["ureq", "fp_rust"] multipart = ["formdata", "multer", "mime"] pure = [] test_runtime = ["for_hyper", "for_ureq", "multipart", "for_serde", "hyper/full", "fp_rust/sync"] [badges.maintenance] status = "actively-developed"