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,13 +1,13 @@
|
|||
use anyhow::Result;
|
||||
use chrono::{DateTime, Local};
|
||||
use clap::Clap;
|
||||
use clap::Parser;
|
||||
use humantime::Duration;
|
||||
use log::info;
|
||||
use posixmq::PosixMq;
|
||||
use std::str;
|
||||
|
||||
/// Receive and print a message from a message queue
|
||||
#[derive(Clap, Debug)]
|
||||
#[derive(Debug, Parser)]
|
||||
pub struct Recv {
|
||||
/// Do not block
|
||||
#[clap(short, long)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue