Restructure with workspace

This commit is contained in:
Aram 🍐 2021-07-30 12:15:20 -04:00
parent 5ae714c9e2
commit 43121ce2ea
9 changed files with 25 additions and 21 deletions

View file

@ -1,21 +1,4 @@
[package]
name = "nut-client"
version = "0.0.4"
authors = ["Aram Peres <aram.peres@wavy.fm>"]
edition = "2018"
description = "Network UPS Tools (NUT) client library"
categories = ["network-programming"]
keywords = ["ups", "nut"]
repository = "https://github.com/aramperes/nut-client-rs"
documentation = "https://docs.rs/nut-client"
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"
dotenv = { version = "0.15.0", optional = true }
[features]
env-file = ["dotenv"]
[workspace]
members = [
"nut-client"
]

21
nut-client/Cargo.toml Normal file
View file

@ -0,0 +1,21 @@
[package]
name = "nut-client"
version = "0.0.4"
authors = ["Aram Peres <aram.peres@wavy.fm>"]
edition = "2018"
description = "Network UPS Tools (NUT) client library"
categories = ["network-programming"]
keywords = ["ups", "nut"]
repository = "https://github.com/aramperes/nut-client-rs"
documentation = "https://docs.rs/nut-client"
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"
dotenv = { version = "0.15.0", optional = true }
[features]
env-file = ["dotenv"]