From 30692a99133ff4fb17f3f31b4d057495a1febf71 Mon Sep 17 00:00:00 2001 From: stickynotememo Date: Wed, 31 Dec 2025 13:09:09 +1100 Subject: [PATCH] create package --- Cargo.lock | 2 +- Cargo.toml | 5 ++++- src/lib.rs | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ca8bc89..512e460 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -73,7 +73,7 @@ dependencies = [ [[package]] name = "signalstream" -version = "0.1.0" +version = "1.0.0" dependencies = [ "bitvec", "fork", diff --git a/Cargo.toml b/Cargo.toml index f599bbe..ac99177 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,9 @@ [package] name = "signalstream" -version = "0.1.0" +description = "Send data over Unix signals. (Don't use this)." +license = "MIT" +repository = "https://github.com/stickynotememo/signalstream" +version = "1.0.0" edition = "2024" [dependencies] diff --git a/src/lib.rs b/src/lib.rs index adfd7fa..c914072 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -159,7 +159,7 @@ mod tests { assert_eq!(buf, LIPSUM.as_bytes()); } else { // Writing process, as it knows the pid of the original program let mut sigstream = SignalStream::new(new_pid); - sleep(Duration::from_millis(5)); + sleep(Duration::from_millis(5)); // Ensures that the reader has started reading. sigstream.write(LIPSUM.as_bytes()).unwrap(); };