use workspaces to reduce dependencies (#7)
* use workspaces to reduce dependencies * bump version
This commit is contained in:
parent
08df76357c
commit
25ca3f4be6
23
Cargo.toml
23
Cargo.toml
|
@ -1,18 +1,5 @@
|
||||||
[package]
|
[workspace]
|
||||||
name = "wakey"
|
members = [
|
||||||
version = "0.2.1"
|
"wakey",
|
||||||
|
"wakey-wake"
|
||||||
authors = ["Hubert Bugaj<lesny.rumcajs@gmail.com>"]
|
]
|
||||||
edition = "2021"
|
|
||||||
|
|
||||||
license = "MIT"
|
|
||||||
repository = "https://github.com/LesnyRumcajs/wakey"
|
|
||||||
|
|
||||||
description = "Wake-on-LAN library for creating and sending magic WOL packets."
|
|
||||||
keywords = ["wol", "wake-on-lan"]
|
|
||||||
categories = ["network-programming"]
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
hex = "~0.3"
|
|
||||||
arrayvec = "0.7.2"
|
|
||||||
clap = { version = "3.1.18", features = ["derive"] }
|
|
||||||
|
|
|
@ -32,8 +32,6 @@ wol.send_magic_to(src, dst);
|
||||||
|
|
||||||
## Included binary
|
## Included binary
|
||||||
|
|
||||||
The binary `bin/wake` may be directly used in scripts:
|
|
||||||
|
|
||||||
```
|
```
|
||||||
wake -m 00:11:22:33:44:55
|
cargo run --bin wakey-wake -m 00:11:22:33:44:55
|
||||||
```
|
```
|
||||||
|
|
17
wakey-wake/Cargo.toml
Normal file
17
wakey-wake/Cargo.toml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
[package]
|
||||||
|
name = "wakey-wake"
|
||||||
|
version = "0.2.2"
|
||||||
|
|
||||||
|
authors = ["Hubert Bugaj<lesny.rumcajs@gmail.com>"]
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
license = "MIT"
|
||||||
|
repository = "https://github.com/LesnyRumcajs/wakey"
|
||||||
|
|
||||||
|
description = "Sample CLI tool for creating and sending Wake-on-LAN packets."
|
||||||
|
keywords = ["wol", "wake-on-lan"]
|
||||||
|
categories = ["network-programming"]
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
wakey = { path = "../wakey" }
|
||||||
|
clap = { version = "3.1.18", features = ["derive"] }
|
17
wakey/Cargo.toml
Normal file
17
wakey/Cargo.toml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
[package]
|
||||||
|
name = "wakey"
|
||||||
|
version = "0.2.2"
|
||||||
|
|
||||||
|
authors = ["Hubert Bugaj<lesny.rumcajs@gmail.com>"]
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
license = "MIT"
|
||||||
|
repository = "https://github.com/LesnyRumcajs/wakey"
|
||||||
|
|
||||||
|
description = "Wake-on-LAN library for creating and sending magic WOL packets."
|
||||||
|
keywords = ["wol", "wake-on-lan"]
|
||||||
|
categories = ["network-programming"]
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
hex = "~0.3"
|
||||||
|
arrayvec = "0.7.2"
|
Loading…
Reference in New Issue
Block a user