Update dependencies

This commit is contained in:
Marcel Müller
2018-04-14 11:40:04 +02:00
parent de6430fabc
commit b136c1900e
3 changed files with 7 additions and 9 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ rust:
- stable
script:
- |
cargo build &&
cargo test --features yaml &&
cargo build --features yaml,bin &&
cargo test --features yaml,bin &&
cargo doc --features yaml,bin
env:
global:
+4 -6
View File
@@ -12,17 +12,16 @@ version = "2.0.0"
[dependencies]
failure = "0.1.1"
lazy_static = "1.0.0"
ron = "0.1.2"
ron = "0.2.0"
serde = "1"
[dependencies.base64]
optional = true
version = "0.7.0"
version = "0.9.0"
[dependencies.bincode]
optional = true
version = "0.8.0"
version = "1"
[dependencies.serde_yaml]
optional = true
@@ -30,9 +29,8 @@ version = "0.7"
[dev-dependencies]
serde_derive = "1"
tempfile = "2.1"
lazy_static = "1"
[features]
bin = ["bincode", "base64"]
yaml = ["serde_yaml"]
ron_enc = ["ron"]
+1 -1
View File
@@ -83,7 +83,7 @@ mod bincode {
impl<T: Serialize + DeserializeOwned> DeSerializer<T> for Bincode {
fn serialize(&self, val: &T) -> error::Result<String> {
let res = to_bincode_string(val, ::bincode::Infinite)?;
let res = to_bincode_string(val)?;
Ok(encode(&res))
}
fn deserialize<R: Read>(&self, mut s: R) -> error::Result<T> {