v0.5.3
This commit is contained in:
parent
183c28e363
commit
21329a0e53
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "bincode"
|
name = "bincode"
|
||||||
version = "0.5.2"
|
version = "0.5.3"
|
||||||
authors = ["Ty Overby <ty@pre-alpha.com>", "Francesco Mazzoli <f@mazzo.li>"]
|
authors = ["Ty Overby <ty@pre-alpha.com>", "Francesco Mazzoli <f@mazzo.li>"]
|
||||||
|
|
||||||
repository = "https://github.com/TyOverby/bincode"
|
repository = "https://github.com/TyOverby/bincode"
|
||||||
|
|
|
||||||
|
|
@ -100,4 +100,3 @@ pub fn encoded_size_bounded<T: Encodable>(t: &T, max: u64) -> Option<u64> {
|
||||||
let mut size_checker = SizeChecker::new(max);
|
let mut size_checker = SizeChecker::new(max);
|
||||||
t.encode(&mut size_checker).ok().map(|_| size_checker.written)
|
t.encode(&mut size_checker).ok().map(|_| size_checker.written)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue