Update base64 to latest version

This commit is contained in:
Jonas Platte 2018-11-09 11:20:56 +01:00
parent 7d34d869c6
commit 86135ddeb0
2 changed files with 2 additions and 4 deletions

View File

@ -11,7 +11,7 @@ repository = "https://github.com/ruma/ruma-signatures"
version = "0.4.0"
[dependencies]
base64 = "0.5.0"
base64 = "0.10.0"
lazy_static = "0.2.8"
ring = "0.9.4"
serde = "1.0"

View File

@ -140,7 +140,7 @@ use std::collections::{HashMap, HashSet};
use std::error::Error as StdError;
use std::fmt::{Display, Formatter, Result as FmtResult};
use base64::{CharacterSet, Config, LineWrap, decode_config, encode_config};
use base64::{CharacterSet, Config, decode_config, encode_config};
use ring::signature::{ED25519, Ed25519KeyPair as RingEd25519KeyPair, verify};
use serde::{Deserialize, Deserializer, Serialize, Serializer};
use serde::de::{Error as SerdeError, MapAccess, Unexpected, Visitor};
@ -155,8 +155,6 @@ lazy_static! {
static ref BASE64_CONFIG: Config = Config::new(
CharacterSet::Standard,
false,
false,
LineWrap::NoWrap,
);
}