# 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 = "merriam-webster-http" version = "0.2.0" description = "An HTTP client for the Merriam Webster's Dictionary API" homepage = "https://github.com/fyko/merriam-webster" readme = "README.md" keywords = [ "merriam", "webster", "dictionary", ] categories = [ "api-bindings", "asynchronous", "web-programming::http-client", ] license = "MIT OR Apache-2.0" repository = "https://github.com/fyko/merriam-webster" [dependencies.hyper] version = "0.14" features = [ "client", "http1", "http2", "runtime", ] default-features = false [dependencies.hyper-rustls] version = "0.24" features = [ "http1", "http2", ] optional = true default-features = false [dependencies.hyper-tls] version = "0.5" optional = true default-features = false [dependencies.hyper-trust-dns] version = "0.5" optional = true default-features = false [dependencies.merriam-webster-model] version = "0.2.0" [dependencies.secrecy] version = "0.8.0" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" features = ["std"] default-features = false [dependencies.thiserror] version = "1" [dev-dependencies.tokio] version = "1" features = [ "rt-multi-thread", "test-util", "macros", ] default-features = false [features] default = ["rustls-native-roots"] native = ["dep:hyper-tls"] rustls-native-roots = [ "dep:hyper-rustls", "hyper-rustls?/native-tokio", ] rustls-webpki-roots = [ "dep:hyper-rustls", "hyper-rustls?/webpki-tokio", ] trust-dns = ["dep:hyper-trust-dns"]