mirror of
https://github.com/stickynotememo/signalstream.git
synced 2026-07-29 22:36:03 +10:00
create package
This commit is contained in:
Generated
+1
-1
@@ -73,7 +73,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "signalstream"
|
||||
version = "0.1.0"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"bitvec",
|
||||
"fork",
|
||||
|
||||
+4
-1
@@ -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]
|
||||
|
||||
+1
-1
@@ -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();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user