Create a message queue

The create command creates a new message queue with support of the
typical parameters `mode`, `capacity` and `msgsize`. This command also
supports the global argument `verbose`.
This commit is contained in:
finga 2021-06-14 03:06:23 +02:00
parent 2b96bcc562
commit fdacba1eec
5 changed files with 101 additions and 3 deletions

17
Cargo.lock generated
View file

@ -1,5 +1,11 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "anyhow"
version = "1.0.41"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "15af2628f6890fe2609a3b91bef4c83450512802e59489f9c1cb1fa5df064a61"
[[package]]
name = "atty"
version = "0.2.14"
@ -105,7 +111,9 @@ checksum = "12b8adadd720df158f4d70dfe7ccc6adb0472d7c55ca83445f6a5ab3e36f8fb6"
name = "mqrs"
version = "0.1.0-dev"
dependencies = [
"anyhow",
"clap",
"posixmq",
]
[[package]]
@ -114,6 +122,15 @@ version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "afb2e1c3ee07430c2cf76151675e583e0f19985fa6efae47d6848a3e2c824f85"
[[package]]
name = "posixmq"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5e01860c5a0b0c823066268fb7950019bac142c1cb8919e774823fe510e697a"
dependencies = [
"libc",
]
[[package]]
name = "proc-macro-error"
version = "1.0.4"