Update build dependencies and edition
Use the 2021 Rust edition. To use current version of clap changes were adapted.
This commit is contained in:
parent
d5ef64171a
commit
1aab989000
13 changed files with 55 additions and 49 deletions
|
@ -1,9 +1,9 @@
|
|||
use anyhow::Result;
|
||||
use clap::Clap;
|
||||
use clap::Parser;
|
||||
use posixmq::PosixMq;
|
||||
|
||||
/// Print information about an existing message queue
|
||||
#[derive(Clap, Debug)]
|
||||
#[derive(Debug, Parser)]
|
||||
pub struct Info {
|
||||
/// Name of the queue
|
||||
#[clap(value_name = "QUEUE")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue