diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-07-09 12:51:10 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-07-15 12:47:53 +0200 |
commit | 775f0c039349335df880d35db7df6c131419f0eb (patch) | |
tree | 2d16928f3a629b7afae95cf1b9d518c5603a9f93 /sqv | |
parent | caec575e3c44e6045e29aa452ad31f91d04ec139 (diff) |
Prepare for Rust 2018.
- This is the result of running `cargo fix --edition`, with some
manual adjustments.
- The vast majority of changes merely qualify module paths with
'crate::'.
- Two instances of adding an anonymous pattern to a trait's
function.
- `async` is a keyword in Rust 2018, and hence it needs to be
escaped (e.g. in the case of the net::r#async module).
- The manual adjustments were needed due to various shortcomings of
the analysis employed by `cargo fix`, e.g. unexpanded macros,
procedural macros, lalrpop grammars.
Diffstat (limited to 'sqv')
-rw-r--r-- | sqv/src/sqv.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sqv/src/sqv.rs b/sqv/src/sqv.rs index 91ff33f1..2fbb4191 100644 --- a/sqv/src/sqv.rs +++ b/sqv/src/sqv.rs @@ -14,11 +14,11 @@ use std::process::exit; use std::fs::File; use std::collections::{HashMap, HashSet}; -use openpgp::{TPK, Packet, packet::Signature, KeyID, RevocationStatus}; -use openpgp::constants::HashAlgorithm; -use openpgp::crypto::hash::Hash; -use openpgp::parse::{Parse, PacketParserResult, PacketParser}; -use openpgp::tpk::TPKParser; +use crate::openpgp::{TPK, Packet, packet::Signature, KeyID, RevocationStatus}; +use crate::openpgp::constants::HashAlgorithm; +use crate::openpgp::crypto::hash::Hash; +use crate::openpgp::parse::{Parse, PacketParserResult, PacketParser}; +use crate::openpgp::tpk::TPKParser; mod sqv_cli; |