meli/src
Manos Pitsidianakis a34f0aac5b
melib: fix bincode serialization
Previous commit changed bincode deserializes in maildir and sqlite3.rs
from bincode::deserialize_from to using bincode::config::DefaultOptions
and bincode::Options trait's method deserialize_from.

However, these two different deserializes use a different default
settings: https://github.com/servo/bincode/issues/348

Specifically, varint encoding for integers is the default for
DefaultOptions but not when using bincode::{de,}serialize_* functions.
That means that serialized structs were not able to be deserialized.
This commit makes all {de,}serializations use the DefaultOptions
interface rather than the top level functions.
2020-11-09 00:40:32 +02:00
..
command Add quit command 2020-10-14 20:14:07 +03:00
components Replace PosixTimer with async timers 2020-10-29 13:18:36 +02:00
conf melib: fix bincode serialization 2020-11-09 00:40:32 +02:00
plugins Remove some old TODO comments 2020-08-26 00:54:07 +03:00
terminal terminal/embed: remove some allocations and unwraps 2020-10-18 15:02:18 +03:00
types Fix clippy lints 2020-07-06 15:27:08 +03:00
bin.rs Replace PosixTimer with async timers 2020-10-29 13:18:36 +02:00
command.rs Add quit command 2020-10-14 20:14:07 +03:00
components.rs utilities: move PageMovement to components mod 2020-10-21 13:19:13 +03:00
conf.rs Remove unused plugin interface 2020-10-21 17:58:30 +03:00
jobs.rs Replace PosixTimer with async timers 2020-10-29 13:18:36 +02:00
mailcap.rs Remove some needless clones and stuff (thanks to Clippy) 2020-07-13 21:36:55 +03:00
managesieve.rs Replace PosixTimer with async timers 2020-10-29 13:18:36 +02:00
plugins.rs plugins: place socket in XDG_RUNTIME_DIR, not CWD 2020-09-20 13:31:18 +03:00
sqlite3.rs melib/email: remove Envelope::from_token 2020-08-26 00:54:07 +03:00
state.rs Replace PosixTimer with async timers 2020-10-29 13:18:36 +02:00
terminal.rs Add opt-in mouse support 2020-10-14 14:58:02 +03:00
types.rs Replace PosixTimer with async timers 2020-10-29 13:18:36 +02:00