mirror of
https://github.com/Drop-OSS/dropbreak.git
synced 2026-07-18 09:57:53 -04:00
Update dependencies
This commit is contained in:
+2
-2
@@ -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
@@ -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
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user