mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
rust: Run rustfmt with some experimental options
+ Sort and group the imports + Normalize and format comments (100 characters width) Command used: $ cargo +nightly fmt -- Acked-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Marc Hartmayer <marc@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
3d5f75d6c3
commit
f8fb9ce32a
@@ -2,21 +2,17 @@
|
||||
//
|
||||
// Copyright IBM Corp. 2023, 2024
|
||||
|
||||
use clap::{ArgAction, ArgGroup, Args, Command, ValueHint};
|
||||
use log::{info, warn, LevelFilter};
|
||||
use pv::misc::read_file;
|
||||
use pv::{
|
||||
misc::{create_file, open_file, read_certs},
|
||||
request::{
|
||||
openssl::pkey::{PKey, Public},
|
||||
HkdVerifier,
|
||||
},
|
||||
Error, Result,
|
||||
};
|
||||
use std::io::{Read, Write};
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::process::ExitCode;
|
||||
|
||||
use clap::{ArgAction, ArgGroup, Args, Command, ValueHint};
|
||||
use log::{info, warn, LevelFilter};
|
||||
use pv::misc::{create_file, open_file, read_certs, read_file};
|
||||
use pv::request::openssl::pkey::{PKey, Public};
|
||||
use pv::request::HkdVerifier;
|
||||
use pv::{Error, Result};
|
||||
|
||||
/// CLI Argument collection for handling host-keys, IBM signing keys, and certificates.
|
||||
#[derive(Args, Debug, Clone, PartialEq, Eq, Default)]
|
||||
#[command(
|
||||
|
||||
Reference in New Issue
Block a user