From b136c1900ea40b3df0aa2d32962244c2f5690f62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Sat, 14 Apr 2018 11:40:04 +0200 Subject: [PATCH] Update dependencies --- .travis.yml | 4 ++-- Cargo.toml | 10 ++++------ src/deser.rs | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index eb85fc5..fc24a8f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/Cargo.toml b/Cargo.toml index 32ce623..d044c8c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] diff --git a/src/deser.rs b/src/deser.rs index 4160624..5247a56 100644 --- a/src/deser.rs +++ b/src/deser.rs @@ -83,7 +83,7 @@ mod bincode { impl DeSerializer for Bincode { fn serialize(&self, val: &T) -> error::Result { - let res = to_bincode_string(val, ::bincode::Infinite)?; + let res = to_bincode_string(val)?; Ok(encode(&res)) } fn deserialize(&self, mut s: R) -> error::Result {