Commit graph

17 commits

Author SHA1 Message Date
Mathieu Trossevin 89dda462ff
Change repository into a workspace 2024-01-11 18:02:17 +01:00
Mathieu Trossevin 058692a20c
Move NOTIFY_SOCKET implementation into it's own crate
I will add some utility function using both crates into the main one
later.
2024-01-11 17:54:11 +01:00
Mathieu Trossevin 613ae42bc1
Separate LISTEN_FDS implementation into it's own crate 2024-01-11 17:41:12 +01:00
Mathieu Trossevin 099a22fb98
Merge branch 'main' into notify_barrier 2024-01-11 14:44:10 +01:00
Mathieu Trossevin 10c4028f49
Merge branch 'doc-rs' 2024-01-09 10:39:01 +01:00
Mathieu Trossevin 42aa8b285a
Replace logging crate with log 2024-01-09 10:34:26 +01:00
Mathieu Trossevin 0ce9662f52
Better documentation 2024-01-08 11:25:17 +01:00
Mathieu Trossevin d60d906483 notify: Add an equivalent to sd_notify_barrier
This also add an RAII guard for that can be used for the same purpose.
(Mostly for use in a closure.)
2024-01-05 21:27:09 +01:00
Mathieu Trossevin cbfa648c4a
Use Newtypes for NotifyState 2024-01-04 13:48:45 +01:00
Mathieu Trossevin 8fdd802e82
Add support for watchdog 2024-01-04 13:47:14 +01:00
Mathieu Trossevin b4aad68daa
Document msrv 2023-12-08 17:30:04 +01:00
Mathieu Trossevin c282e4bd27
Simplify dependency list 2023-12-08 17:12:25 +01:00
Mathieu Trossevin c8b311c243
Add license text 2023-12-08 17:09:17 +01:00
Mathieu Trossevin c142afbc2c
Start adding support for NOTIFY_SOCKET 2023-12-08 14:46:54 +01:00
Mathieu Trossevin bf2091bb63
Move LISTEN_FD support to a feature 2023-12-08 12:54:41 +01:00
Mathieu Trossevin 6984d1a0ea Finish implementing reception of file descriptors. 2023-12-07 21:10:44 +01:00
Mathieu Trossevin d670bad1e9
Initial commit 2023-12-07 18:02:35 +01:00