mirror of
https://github.com/Drop-OSS/dropbreak.git
synced 2026-07-19 20:43:35 -04:00
Make bincode error public
This commit is contained in:
+1
-1
@@ -36,6 +36,6 @@ serde_derive = "1"
|
||||
tempfile = "2.1"
|
||||
|
||||
[features]
|
||||
bin = ["bincode", "base64"]
|
||||
bin = ["bincode", "base64", "error-chain"]
|
||||
yaml = ["serde_yaml"]
|
||||
ron_enc = ["ron"]
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ use ron::de::from_reader as from_ron_string;
|
||||
pub use self::yaml::Yaml;
|
||||
|
||||
#[cfg(feature = "bin")]
|
||||
pub use self::bincode::Bincode;
|
||||
pub use self::bincode::{Bincode, Error as BincodeError};
|
||||
|
||||
/// A trait to bundle serializer and deserializer
|
||||
pub trait DeSerializer<T: Serialize + DeserializeOwned> {
|
||||
|
||||
Reference in New Issue
Block a user