summaryrefslogtreecommitdiffstats
path: root/openpgp/src/armor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/armor.rs')
-rw-r--r--openpgp/src/armor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/armor.rs b/openpgp/src/armor.rs
index cfbbf4ae..54380acf 100644
--- a/openpgp/src/armor.rs
+++ b/openpgp/src/armor.rs
@@ -26,7 +26,7 @@
//! let mut r = Reader::new(&mut file, ReaderMode::Tolerant(Some(Kind::File)));
//! ```
-extern crate base64;
+use base64;
use buffered_reader::BufferedReader;
use std::io::{Cursor, Read, Write};
use std::io::{Result, Error, ErrorKind};
@@ -637,7 +637,7 @@ impl<'a> Reader<'a> {
// The range of the first 6 bits of a message is limited.
// Save cpu cycles by only considering base64 data that starts
// with one of those characters.
- lazy_static!{
+ lazy_static::lazy_static!{
static ref START_CHARS : Vec<u8> = {
let mut valid_start = Vec::new();
for &tag in &[ Tag::PKESK, Tag::SKESK,