Crates.io | simpdiscover |
lib.rs | simpdiscover |
version | 0.7.0 |
source | src |
created_at | 2021-07-29 11:22:56.803676 |
updated_at | 2024-03-04 15:17:39.777774 |
description | A simple library for UDP based service discovery |
homepage | |
repository | https://github.com/andrewdavidmackenzie/simpdiscover/ |
max_upload_size | |
id | 428721 |
size | 25,437 |
Simpdiscover is a simple rust crate to facilitate discovery of services within the Local Area network (LAN) using UDP Broadcast datagrams or "beacons".
The 'announcer' of a service could be a process on another machines, or another threads or process on the same machine.
Run this binary from the repo using cargo run --bin announce
or just announce
if you have installed the
crate with cargo.
It takes an optional command line parameter to specify the String for the beacon message to announce:
cargo run --bin announce -- Hello
Run this binary from the repo using cargo run --bin listen
or just listen
if you have installed the
crate with cargo.
It takes an optional command line parameter to specify the String for the beacon message to wait for before exiting:
cargo run --bin listen -- Hello
I have taken most of my notes on future work and converted them into GitHub issues.
Some are just questions about things I don't understand and would love experts on UDP and rust to explain them to me.
Please comment or start any you are interested in being implemented.
PRs are obviously welcome, if accompanied by some doc comments, doc tests or tests.
cd
into the directorycargo build
cargo test
cargo clippy -- -D warnings