Trangar
59b787cbf8
Moved Configuration::standard() and ::legacy() to the config module ( #481 )
...
* Moved Configuration::standard() and ::legacy() to the config module
* Fixed issue with config that would overwrite the limit, added a checklist on adding config variables
2022-01-19 16:46:25 +01:00
Trangar
a5e57d51d8
Update documentation ( #480 )
...
* Updated documentation
* Updated spec.md
2022-01-18 15:17:58 +01:00
Lena Hellström
8106eadf66
Switch Encode to take &mut E ( #471 )
2022-01-13 12:26:09 +01:00
Trangar
bb3612103a
Fixed clippy warnings ( #447 )
2021-12-10 17:39:35 +01:00
Trangar
8c1279feab
functions to enable encoding/decoding serde types ( #422 )
...
* functions to enable encoding/decoding serde types
* Removed dev feature I forgot to remove
* Centralized option variant and len() decoding/encoding
2021-11-08 12:38:29 +01:00
Victor Koenders
382b2c7a8f
Fixed clippy lint, removed function that was only used in 1 place
2021-10-24 18:06:16 +02:00
Lena Hellström
539906f441
Optimize performance of slice writing
2021-10-22 14:47:05 +02:00
Victor Koenders
bd994e354d
Updated documentation of Encode, added an example to lib.rs
2021-10-21 14:45:16 +02:00
Victor Koenders
dae645f675
Joined the 2 Sealed traits into a single one
2021-10-21 14:27:03 +02:00
Victor Koenders
151edf46d3
Included spec.md into cargo's documentation, fixed the issues, changed the [u8; N] implementations to [T; N]
2021-10-21 11:57:16 +02:00
Lena Hellström
684f2562b1
Config rewrite ( #412 )
...
Rewrite the config system to be slightly more friendly to adding new options
2021-10-17 21:07:31 +02:00
Victor Koenders
4807ea6be2
Added warning on unused lifetimes, fixed warnings
2021-10-17 16:43:18 +02:00
Lena Hellström
e232454936
Refactor and rename encoders
2021-10-17 16:22:14 +02:00
Victor Koenders
a0469e08ef
Added support for NonZero* types
2021-10-16 14:14:15 +02:00
Victor Koenders
9420d03762
Added support for Range<T>, RangeInclusive<T> and Bound<T>
2021-10-16 13:59:48 +02:00
Victor Koenders
acbd385649
Added core::time::Duration and std::time::SystemTime
2021-10-16 13:32:12 +02:00
Victor Koenders
1d6379e715
Added support for Cell and RefCell
2021-10-16 12:04:23 +02:00
Victor Koenders
07f49e878e
Added support for Vec<T>, Box<T> and Box<[T]>
2021-10-16 11:41:59 +02:00
Victor Koenders
82924aa96e
Added support for Option<T> and Result<T, U>
2021-10-16 11:03:25 +02:00
Victor Koenders
960b6066cd
Added an option to encode a fixed array length or to skip it
2021-10-14 21:31:47 +02:00
Victor Koenders
19fed15463
Added support for tuples with up to 8 values
2021-10-14 20:33:03 +02:00
Victor Koenders
e4e12c984b
Added support for the bool type
2021-10-14 19:34:35 +02:00
Victor Koenders
c4cb220fb2
Added support for char encoding/decoding
2021-10-14 19:28:28 +02:00
Victor Koenders
bb98b8fcbd
Added documentation for the src/enc module
2021-10-14 17:59:23 +02:00
Victor Koenders
254b87c6eb
Moved all feature flags to src/features, made the CI run tests on all feature combinations
2021-09-22 16:23:27 +02:00
Victor Koenders
9c7fb85e0e
Added support for slices, str, fixed size arrays. Added lifetime to Decode trait
2021-09-22 12:03:00 +02:00
Victor Koenders
78cb27f782
Added decode_ fns
2021-09-22 09:59:13 +02:00
Victor Koenders
ccca6ee49e
Split Error into EncodeError and DecodeError
2021-09-19 10:52:21 +02:00
Victor Koenders
723bdd312a
Turned Config::INT_ENCODING back into a const, made a ton of varint_encode functions
2021-09-19 09:25:47 +02:00
Victor Koenders
7448b7bb87
Moved Encoder to its own file
2021-09-19 08:34:14 +02:00
Victor Koenders
6802edc625
Renamed blob to slice
2021-09-19 08:30:28 +02:00
Victor Koenders
8a4eac82fb
Made the encoder respect intencoding, implemented FixintEncoding
2021-09-19 08:28:38 +02:00
Victor Koenders
bab0cf4bd1
Started working on bincode_derive
2021-09-13 13:20:47 +02:00
Lena Hellström
b7c0d1fac0
reorganize de/enc modules
2021-06-20 00:12:10 +02:00