# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "nut-client" version = "0.4.2" authors = ["Aram Peres "] description = "Network UPS Tools (NUT) client library" documentation = "https://docs.rs/nut-client" readme = "../README.md" keywords = ["ups", "nut", "tokio", "async"] categories = ["network-programming"] license = "MIT" repository = "https://github.com/aramperes/nut-client-rs" [package.metadata.docs.rs] all-features = true [[example]] name = "async" required-features = ["async-rt"] [dependencies.rustls] version = "0.19" optional = true [dependencies.shell-words] version = "1.0.0" [dependencies.tokio] version = "1" features = ["net", "io-util", "rt"] optional = true [dependencies.tokio-rustls] version = "0.22" optional = true [dependencies.webpki] version = "0.21" optional = true [dependencies.webpki-roots] version = "0.21" optional = true [features] async = ["tokio"] async-rt = ["async", "tokio/rt-multi-thread", "tokio/macros"] async-ssl = ["async", "tokio-rustls", "ssl"] default = [] ssl = ["rustls", "rustls/dangerous_configuration", "webpki", "webpki-roots"]