# 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 = "restson" version = "1.5.0" authors = ["Sami Pietikäinen"] description = "Easy-to-use REST client with automatic serialization and deserialization." readme = "README.md" keywords = [ "rest", "client", "http", "json", "async", ] categories = [ "network-programming", "web-programming::http-client", ] license = "MIT" repository = "https://github.com/spietika/restson-rust" [dependencies.base64] version = "0.13" [dependencies.futures] version = "^0.3" [dependencies.hyper] version = "0.14" features = [ "client", "http1", "http2", ] [dependencies.hyper-rustls] version = "0.24" features = ["http2"] optional = true [dependencies.hyper-tls] version = "0.5" optional = true [dependencies.log] version = "^0.4.6" [dependencies.serde] version = "^1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.simd-json] version = "0.1" optional = true [dependencies.tokio] version = "1" features = ["time"] [dependencies.url] version = "2" [dev-dependencies.serde_derive] version = "^1.0" [dev-dependencies.tokio] version = "1" features = ["macros"] [features] blocking = [] default = [ "blocking", "lib-serde-json", "native-tls", ] lib-serde-json = [ "serde", "serde_json", ] lib-simd-json = [ "serde", "simd-json", "serde_json", ] native-tls = ["hyper-tls"] rustls = ["hyper-rustls"]