Commit graph

6 commits

Author SHA1 Message Date
c2ad74ff15 Remove pub declarations and move to posix::*
This is in order to prepare also for SysV message queues.
2021-06-30 22:46:33 +02:00
83e4ff36e5 Use the humantime crate to parse Duration 2021-06-27 02:47:27 +02:00
ac115a6966 Fix readme and clap help 2021-06-26 23:10:11 +02:00
1100ba1b13 Support timeout and deadline parameters for send
Add support for timeout and deadline parameters when messages are sent
to a message queue. To keep code duplication small, the `utils.rs`
file contains a helper function to parse the `Duration` from the
`String` received from the timeout parameter. Add conflict rules for
the timeout and deadline parameters.
2021-06-20 16:49:40 +02:00
9b52305285 Rename queue help name 2021-06-20 16:35:20 +02:00
3572b12a1a Receive message(s) from a queue
This subcommand receives one or more messages from a queue. Three
different methods are supported, read message by message, read until a
given timout or read until a specified date and time. This subcommand
also supports the `--non-blocking` flag.
2021-06-20 16:35:18 +02:00