mirror of
https://github.com/aramperes/nut-rs.git
synced 2025-09-09 05:28:31 -04:00
Release 0.5.0
Rename to rups
This commit is contained in:
parent
539d11848e
commit
feef67255f
21 changed files with 51 additions and 47 deletions
37
rups/Cargo.toml
Normal file
37
rups/Cargo.toml
Normal file
|
@ -0,0 +1,37 @@
|
|||
[package]
|
||||
name = "rups"
|
||||
version = "0.5.0"
|
||||
authors = ["Aram Peres <aram.peres@wavy.fm>"]
|
||||
edition = "2018"
|
||||
description = "Network UPS Tools (NUT) client library"
|
||||
categories = ["network-programming"]
|
||||
keywords = ["ups", "nut", "tokio", "async"]
|
||||
repository = "https://github.com/aramperes/nut-client-rs"
|
||||
documentation = "https://docs.rs/rups"
|
||||
readme = "../README.md"
|
||||
license = "MIT"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
shell-words = "1.0.0"
|
||||
rustls = { version = "0.19", optional = true }
|
||||
webpki = { version = "0.21", optional = true }
|
||||
webpki-roots = { version = "0.21", optional = true }
|
||||
tokio = { version = "1", optional = true, features = ["net", "io-util", "rt"] }
|
||||
tokio-rustls = { version = "0.22", optional = true }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
ssl = ["rustls", "rustls/dangerous_configuration", "webpki", "webpki-roots"]
|
||||
async = ["tokio"]
|
||||
async-ssl = ["async", "tokio-rustls", "ssl"]
|
||||
# a feature gate for examples
|
||||
async-rt = ["async", "tokio/rt-multi-thread", "tokio/macros"]
|
||||
|
||||
[[example]]
|
||||
name = "async"
|
||||
required-features = ["async-rt"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
Loading…
Add table
Add a link
Reference in a new issue