diff options
Diffstat (limited to 'openpgp')
76 files changed, 788 insertions, 788 deletions
diff --git a/openpgp/examples/decrypt-with.rs b/openpgp/examples/decrypt-with.rs index 75b886eb..6562b3db 100644 --- a/openpgp/examples/decrypt-with.rs +++ b/openpgp/examples/decrypt-with.rs @@ -8,9 +8,9 @@ use std::io; extern crate failure; extern crate sequoia_openpgp as openpgp; -use openpgp::crypto::{KeyPair, SessionKey}; -use openpgp::constants::SymmetricAlgorithm; -use openpgp::parse::{ +use crate::openpgp::crypto::{KeyPair, SessionKey}; +use crate::openpgp::constants::SymmetricAlgorithm; +use crate::openpgp::parse::{ Parse, stream::{ DecryptionHelper, diff --git a/openpgp/examples/encrypt-for.rs b/openpgp/examples/encrypt-for.rs index 3fd1217c..9b35623b 100644 --- a/openpgp/examples/encrypt-for.rs +++ b/openpgp/examples/encrypt-for.rs @@ -5,10 +5,10 @@ use std::env; use std::io; extern crate sequoia_openpgp as openpgp; -use openpgp::armor; -use openpgp::constants::DataFormat; -use openpgp::parse::Parse; -use openpgp::serialize::stream::{ +use crate::openpgp::armor; +use crate::openpgp::constants::DataFormat; +use crate::openpgp::parse::Parse; +use crate::openpgp::serialize::stream::{ Message, LiteralWriter, Encryptor, EncryptionMode, }; diff --git a/openpgp/examples/generate-encrypt-decrypt.rs b/openpgp/examples/generate-encrypt-decrypt.rs index 8a450d24..50159825 100644 --- a/openpgp/examples/generate-encrypt-decrypt.rs +++ b/openpgp/examples/generate-encrypt-decrypt.rs @@ -3,10 +3,10 @@ use std::io::{self, Write}; extern crate sequoia_openpgp as openpgp; -use openpgp::crypto::SessionKey; -use openpgp::constants::SymmetricAlgorithm; -use openpgp::serialize::stream::*; -use openpgp::parse::stream::*; +use crate::openpgp::crypto::SessionKey; +use crate::openpgp::constants::SymmetricAlgorithm; +use crate::openpgp::serialize::stream::*; +use crate::openpgp::parse::stream::*; const MESSAGE: &'static str = "дружба"; diff --git a/openpgp/examples/generate-sign-verify.rs b/openpgp/examples/generate-sign-verify.rs index 70899c81..cc350a63 100644 --- a/openpgp/examples/generate-sign-verify.rs +++ b/openpgp/examples/generate-sign-verify.rs @@ -4,8 +4,8 @@ use std::io::{self, Write}; extern crate failure; extern crate sequoia_openpgp as openpgp; -use openpgp::serialize::stream::*; -use openpgp::parse::stream::*; +use crate::openpgp::serialize::stream::*; +use crate::openpgp::parse::stream::*; const MESSAGE: &'static str = "дружба"; diff --git a/openpgp/examples/notarize.rs b/openpgp/examples/notarize.rs index fd1c56b1..54c7fa79 100644 --- a/openpgp/examples/notarize.rs +++ b/openpgp/examples/notarize.rs @@ -5,7 +5,7 @@ use std::env; use std::io; extern crate sequoia_openpgp as openpgp; -use openpgp::{ +use crate::openpgp::{ armor, crypto, Packet, @@ -13,7 +13,7 @@ use openpgp::{ parse::{Parse, PacketParserResult}, serialize::Serialize, }; -use openpgp::serialize::stream::{Message, LiteralWriter, Signer}; +use crate::openpgp::serialize::stream::{Message, LiteralWriter, Signer}; fn main() { let args: Vec<String> = env::args().collect(); diff --git a/openpgp/examples/sign-detached.rs b/openpgp/examples/sign-detached.rs index a4ee95ad..30620eb3 100644 --- a/openpgp/examples/sign-detached.rs +++ b/openpgp/examples/sign-d |