# 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 = "hyper_api_service" version = "0.2.2" authors = ["JunYi JohnTeee Lee "] include = ["src/**/*.rs", "Cargo.toml"] description = "A Retrofit inspired implementation for Rust." homepage = "https://github.com/TeaEntityLab/hyperAPIService" documentation = "https://docs.rs/hyper_api_service/" readme = "README.md" keywords = ["retrofit", "http", "api", "binding", "hyper"] license = "MIT" repository = "https://github.com/TeaEntityLab/hyperAPIService" [lib] name = "hyper_api_service" path = "src/lib.rs" [[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.2.4" features = ["for_futures"] optional = true [dependencies.futures] version = "^0.3.0" [dependencies.http] version = "^0.2.4" [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.url] version = "^2.2.0" [features] default = ["for_hyper", "multipart", "for_serde"] for_hyper = ["hyper", "tokio"] for_serde = ["serde", "serde_json"] multipart = ["formdata", "multer", "mime"] pure = [] test_runtime = ["for_hyper", "multipart", "for_serde", "fp_rust", "hyper/full"] [badges.maintenance] status = "actively-developed"