create package

This commit is contained in:
2025-12-31 13:09:09 +11:00
parent d875751d0e
commit 30692a9913
3 changed files with 6 additions and 3 deletions
Generated
+1 -1
View File
@@ -73,7 +73,7 @@ dependencies = [
[[package]] [[package]]
name = "signalstream" name = "signalstream"
version = "0.1.0" version = "1.0.0"
dependencies = [ dependencies = [
"bitvec", "bitvec",
"fork", "fork",
+4 -1
View File
@@ -1,6 +1,9 @@
[package] [package]
name = "signalstream" 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" edition = "2024"
[dependencies] [dependencies]
+1 -1
View File
@@ -159,7 +159,7 @@ mod tests {
assert_eq!(buf, LIPSUM.as_bytes()); assert_eq!(buf, LIPSUM.as_bytes());
} else { // Writing process, as it knows the pid of the original program } else { // Writing process, as it knows the pid of the original program
let mut sigstream = SignalStream::new(new_pid); 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(); sigstream.write(LIPSUM.as_bytes()).unwrap();
}; };