# 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 = "rups" version = "0.6.1" authors = ["Aram Peres "] description = "Network UPS Tools (NUT) client library" documentation = "https://docs.rs/rups" readme = "README.md" keywords = [ "ups", "nut", "tokio", "async", ] categories = ["network-programming"] license = "MIT" repository = "https://github.com/aramperes/nut-rs" resolver = "1" [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", ] write = []