Trangar
8bfa9a376f
Fix cross platform tests ( #540 )
...
* Fixed cross platform targets
* Uncommented not working archs, with a reason why they fail
* Removed duplicate windows test
* Commented the other sun system
* Commented out i686-pc-windows-gnu
Co-authored-by: Victor Koenders <git@github.com>
2022-05-21 14:04:29 +02:00
Trangar
03450ac49f
Made config::standard() implement .write_fixed_array_header() by default ( #509 )
...
* Made config::standard() implement .write_fixed_array_header() by default
* Fixed failing unit test
* Fixed formatting
2022-02-28 17:26:46 +01:00
Trangar
58dc788dfa
Fix/issue 500 ( #503 )
...
* Fixed an issue where serde would decode a sequence with an u32 instead of a usize
* Added serde to the `the_same` test for roundtrips, fixed several issues.
* Fixed backwards compatibility for result, ipv4addr and ipv6addr
* Processed feedback
2022-02-07 16:52:15 +01:00
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
5225225
236d350f13
Fix overflow error when deserializing invalid Duration ( #465 )
...
* Fix overflow error when deserializing invalid Duration
* Use unwrap_err instead of match in test
2022-01-08 22:54:04 +01:00
Trangar
404946f12b
[Breaking change] Made all `decode_from_slice` also return the number of bytes read ( #445 )
2021-12-11 15:51:50 +01:00
李冬冬
ed57fd0810
Impl BorrowDecode for Option<&[u8]> and Option<&str> ( #446 )
...
Co-authored-by: Trangar <victor.koenders@gmail.com>
2021-12-10 19:50:24 +01:00
Victor Koenders
707d0d238f
Made all encode and decode functions always require a Config, removed _with_config functions
2021-10-21 14:19:40 +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