# 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 = "trait-net" version = "0.7.1" authors = ["Alexander Stanovoy "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A collection of traits for client libraries for reducing boilerplate" homepage = "https://github.com/alexstanovoy/trait-net" documentation = "https://docs.rs/trait-net" readme = "README.md" keywords = [ "net", "trait", "metrics", ] license = "MIT" repository = "https://github.com/alexstanovoy/trait-net" [lib] name = "trait_net" path = "src/lib.rs" [[example]] name = "http_bin" path = "examples/http_bin.rs" [[example]] name = "metrics" path = "examples/metrics.rs" required-features = ["prometheus"] [dependencies.prometheus] version = "0.13" optional = true [dependencies.tokio] version = "1.39" features = ["time"] default-features = false [dev-dependencies.rand] version = "0.8" [dev-dependencies.reqwest] version = "0.12" features = ["json"] [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.tokio] version = "1.39" features = [ "net", "time", "rt-multi-thread", "macros", ] [features] prometheus = ["dep:prometheus"]