mirror of
https://github.com/str4d/rage.git
synced 2025-04-04 19:37:51 +03:00
Remove trait imports that are in the 2021 edition prelude
This commit is contained in:
parent
49a626ca67
commit
017f3420bc
9 changed files with 0 additions and 9 deletions
|
@ -10,7 +10,6 @@ use age_plugin::{
|
||||||
};
|
};
|
||||||
use gumdrop::Options;
|
use gumdrop::Options;
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::convert::TryInto;
|
|
||||||
use std::io;
|
use std::io;
|
||||||
|
|
||||||
const PLUGIN_NAME: &str = "unencrypted";
|
const PLUGIN_NAME: &str = "unencrypted";
|
||||||
|
|
|
@ -6,7 +6,6 @@ use age_core::{
|
||||||
secrecy::SecretString,
|
secrecy::SecretString,
|
||||||
};
|
};
|
||||||
use bech32::FromBase32;
|
use bech32::FromBase32;
|
||||||
use std::convert::TryInto;
|
|
||||||
use std::io;
|
use std::io;
|
||||||
|
|
||||||
use crate::{Callbacks, PLUGIN_IDENTITY_PREFIX, PLUGIN_RECIPIENT_PREFIX};
|
use crate::{Callbacks, PLUGIN_IDENTITY_PREFIX, PLUGIN_RECIPIENT_PREFIX};
|
||||||
|
|
|
@ -7,7 +7,6 @@ use age_core::{
|
||||||
secrecy::ExposeSecret,
|
secrecy::ExposeSecret,
|
||||||
};
|
};
|
||||||
use bech32::Variant;
|
use bech32::Variant;
|
||||||
use std::convert::TryInto;
|
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
use std::io;
|
use std::io;
|
||||||
use std::iter;
|
use std::iter;
|
||||||
|
|
|
@ -7,7 +7,6 @@ use chacha20poly1305::{
|
||||||
};
|
};
|
||||||
use pin_project::pin_project;
|
use pin_project::pin_project;
|
||||||
use std::cmp;
|
use std::cmp;
|
||||||
use std::convert::TryInto;
|
|
||||||
use std::io::{self, Read, Seek, SeekFrom, Write};
|
use std::io::{self, Read, Seek, SeekFrom, Write};
|
||||||
use zeroize::Zeroize;
|
use zeroize::Zeroize;
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@ use age_core::{
|
||||||
secrecy::{ExposeSecret, SecretString},
|
secrecy::{ExposeSecret, SecretString},
|
||||||
};
|
};
|
||||||
use rand::{rngs::OsRng, RngCore};
|
use rand::{rngs::OsRng, RngCore};
|
||||||
use std::convert::TryInto;
|
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
use zeroize::Zeroize;
|
use zeroize::Zeroize;
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,6 @@ use nom::{
|
||||||
use rand::rngs::OsRng;
|
use rand::rngs::OsRng;
|
||||||
use rsa::padding::PaddingScheme;
|
use rsa::padding::PaddingScheme;
|
||||||
use sha2_09::{Digest, Sha256, Sha512};
|
use sha2_09::{Digest, Sha256, Sha512};
|
||||||
use std::convert::TryInto;
|
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
use std::io;
|
use std::io;
|
||||||
use x25519_dalek::{PublicKey as X25519PublicKey, StaticSecret};
|
use x25519_dalek::{PublicKey as X25519PublicKey, StaticSecret};
|
||||||
|
|
|
@ -14,7 +14,6 @@ use nom::{
|
||||||
use rand::rngs::OsRng;
|
use rand::rngs::OsRng;
|
||||||
use rsa::{padding::PaddingScheme, PublicKey};
|
use rsa::{padding::PaddingScheme, PublicKey};
|
||||||
use sha2_09::Sha256;
|
use sha2_09::Sha256;
|
||||||
use std::convert::TryFrom;
|
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
use x25519_dalek::{EphemeralSecret, PublicKey as X25519PublicKey, StaticSecret};
|
use x25519_dalek::{EphemeralSecret, PublicKey as X25519PublicKey, StaticSecret};
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,6 @@ use age_core::{
|
||||||
};
|
};
|
||||||
use bech32::{ToBase32, Variant};
|
use bech32::{ToBase32, Variant};
|
||||||
use rand_7::rngs::OsRng;
|
use rand_7::rngs::OsRng;
|
||||||
use std::convert::TryInto;
|
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
use x25519_dalek::{EphemeralSecret, PublicKey, StaticSecret};
|
use x25519_dalek::{EphemeralSecret, PublicKey, StaticSecret};
|
||||||
use zeroize::Zeroize;
|
use zeroize::Zeroize;
|
||||||
|
|
|
@ -16,7 +16,6 @@ use i18n_embed::{
|
||||||
};
|
};
|
||||||
use lazy_static::lazy_static;
|
use lazy_static::lazy_static;
|
||||||
use rust_embed::RustEmbed;
|
use rust_embed::RustEmbed;
|
||||||
use std::convert::TryFrom;
|
|
||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
use std::io::{self, BufRead, BufReader};
|
use std::io::{self, BufRead, BufReader};
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue