diff options
author | Till Höppner | 2016-01-13 13:32:46 +0100 |
---|---|---|
committer | Till Höppner | 2016-01-20 20:20:32 +0100 |
commit | 8e2f17b9838d60214f007c8108ee7069c458f40d (patch) | |
tree | 7fff0100a7e24f2149fb395abd8af3d869326040 /src/format/binary.rs | |
parent | 25b2ed76faf6d55455dec3b90096faa01816f52d (diff) | |
download | ilc-8e2f17b9838d60214f007c8108ee7069c458f40d.tar.gz ilc-8e2f17b9838d60214f007c8108ee7069c458f40d.tar.xz ilc-8e2f17b9838d60214f007c8108ee7069c458f40d.zip |
Updated dependencies, still doesn't build
Diffstat (limited to 'src/format/binary.rs')
-rw-r--r-- | src/format/binary.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/format/binary.rs b/src/format/binary.rs index a1ca12d..367cdf9 100644 --- a/src/format/binary.rs +++ b/src/format/binary.rs @@ -32,14 +32,14 @@ pub struct Iter<'a, R: 'a> where R: BufRead { impl<'a, R: 'a> Iterator for Iter<'a, R> where R: BufRead { type Item = ::Result<Event<'a>>; fn next(&mut self) -> Option<::Result<Event<'a>>> { - Some(bincode::decode_from::<R, Event>(&mut self.input, SizeLimit::Infinite) + Some(bincode::rustc_serialize::decode_from::<R, Event>(&mut self.input, SizeLimit::Infinite) .map_err(|_| ::IlcError::BincodeDecode)) } } impl<'a, W> Encode<'a, W> for Binary where W: Write { fn encode(&'a self, _context: &'a Context, mut output: W, event: &'a Event) -> ::Result<()> { - bincode::encode_into(event, &mut output, SizeLimit::Infinite) + bincode::rustc_serialize::encode_into(event, &mut output, SizeLimit::Infinite) .map_err(|_| ::IlcError::BincodeEncode) } } |