# 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 = "megaphone" version = "0.10.4" authors = ["Davide Ghilardi "] description = "Client library that can be used to subscribe to megaphone channels" readme = "README.md" keywords = [ "http", "client", "megaphone", "async", "cloud", ] license = "MIT" repository = "https://github.com/dghilardi/megaphone-client" [[example]] name = "demo-client" required-features = ["examples"] [dependencies.anyhow] version = "1.0.75" [dependencies.bytes] version = "1.5.0" optional = true [dependencies.chrono] version = "0.4.31" features = ["serde"] [dependencies.env_logger] version = "0.11.2" optional = true [dependencies.futures] version = "0.3.25" optional = true [dependencies.hex] version = "0.4.3" [dependencies.http-body-util] version = "0.1.0" optional = true [dependencies.hyper] version = "1.2.0" optional = true [dependencies.hyper-tls] version = "0.6.0" optional = true [dependencies.hyper-util] version = "0.1.3" features = [ "client-legacy", "tokio", "http1", ] optional = true [dependencies.log] version = "0.4.17" optional = true [dependencies.rand] version = "0.8.5" [dependencies.serde] version = "1.0.147" features = ["derive"] [dependencies.serde_json] version = "1.0.87" [dependencies.thiserror] version = "1.0.37" optional = true [dependencies.tokio] version = "1.21.2" features = [ "rt", "macros", ] optional = true [dependencies.tokio-stream] version = "0.1.14" optional = true [dev-dependencies.reqwest] version = "0.11.22" features = ["json"] [features] client = [ "log", "thiserror", "futures", "tokio", "tokio-stream", "hyper", "hyper-util", "hyper-tls", "bytes", "http-body-util", ] examples = [ "client", "env_logger", ]