# 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" name = "hapic" version = "0.3.0" description = "HTTP API Client (hapic): A Rust crate for quickly creating nice-to-use client libraries for HTTP APIs, in particular, there's lots of tooling around HTTP JSON APIs." homepage = "https://github.com/JOT85/hapic/" readme = "README.md" keywords = [ "http", "json", "api", ] categories = [ "web-programming", "asynchronous", ] license = "MIT" repository = "https://github.com/JOT85/hapic/" [dependencies.async-trait] version = "0.1" [dependencies.futures-core] version = "0.3" [dependencies.http] version = "0.2" [dependencies.hyper] version = "0.14" features = [ "http1", "http2", "client", ] optional = true [dependencies.hyper-tls] version = "0.5" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.tokio] version = "1" optional = true [dev-dependencies.futures] version = "0.3" [dev-dependencies.tokio] version = "1" features = [ "rt", "macros", ] [features] default = [ "hyper", "retry", ] hyper = [ "dep:hyper", "dep:hyper-tls", ] retry = ["dep:tokio"]