config: downgrade bincode to 1.3.3
This should not have any impact on existing configs since bincode claims compatibility of the wire format between 1.3.3 and 2.0.0.
This commit is contained in:
parent
6921531702
commit
615acd4847
22 changed files with 91 additions and 104 deletions
|
|
@ -2,7 +2,7 @@ pub mod client;
|
|||
pub mod ipc;
|
||||
mod logging;
|
||||
|
||||
use std::marker::PhantomData;
|
||||
use {bincode::Options, std::marker::PhantomData};
|
||||
|
||||
pub const VERSION: u32 = 1;
|
||||
|
||||
|
|
@ -26,9 +26,9 @@ pub struct ConfigEntryGen<T> {
|
|||
|
||||
impl<T: Config> ConfigEntryGen<T> {}
|
||||
|
||||
pub fn bincode_ops() -> impl bincode::config::Config {
|
||||
bincode::config::standard()
|
||||
.with_fixed_int_encoding()
|
||||
pub fn bincode_ops() -> impl Options {
|
||||
bincode::DefaultOptions::new()
|
||||
.with_fixint_encoding()
|
||||
.with_little_endian()
|
||||
.with_no_limit()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue