Update base64 to latest version
This commit is contained in:
parent
7d34d869c6
commit
86135ddeb0
@ -11,7 +11,7 @@ repository = "https://github.com/ruma/ruma-signatures"
|
|||||||
version = "0.4.0"
|
version = "0.4.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
base64 = "0.5.0"
|
base64 = "0.10.0"
|
||||||
lazy_static = "0.2.8"
|
lazy_static = "0.2.8"
|
||||||
ring = "0.9.4"
|
ring = "0.9.4"
|
||||||
serde = "1.0"
|
serde = "1.0"
|
||||||
|
@ -140,7 +140,7 @@ use std::collections::{HashMap, HashSet};
|
|||||||
use std::error::Error as StdError;
|
use std::error::Error as StdError;
|
||||||
use std::fmt::{Display, Formatter, Result as FmtResult};
|
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 ring::signature::{ED25519, Ed25519KeyPair as RingEd25519KeyPair, verify};
|
||||||
use serde::{Deserialize, Deserializer, Serialize, Serializer};
|
use serde::{Deserialize, Deserializer, Serialize, Serializer};
|
||||||
use serde::de::{Error as SerdeError, MapAccess, Unexpected, Visitor};
|
use serde::de::{Error as SerdeError, MapAccess, Unexpected, Visitor};
|
||||||
@ -155,8 +155,6 @@ lazy_static! {
|
|||||||
static ref BASE64_CONFIG: Config = Config::new(
|
static ref BASE64_CONFIG: Config = Config::new(
|
||||||
CharacterSet::Standard,
|
CharacterSet::Standard,
|
||||||
false,
|
false,
|
||||||
false,
|
|
||||||
LineWrap::NoWrap,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user