Lena Hellström
2355e48a7b
expose default options and serializers ( #310 )
...
Deprecate the old config system and make a refined version of the internal config system public. Doing allows the Serializer/Deserializer to be exposed since all of its generic type parameters are now public.
2020-04-16 15:23:07 -07:00
Lena Hellström
8839b0600d
Modernize CI ( #311 )
...
Switches our CI from Travis-CI to Github Actions. At the same time this also turns on clippy and rustfmt linting.
2020-03-24 14:33:13 -07:00
Lena Hellström
ae8c162d49
remove unsafe code in IoReader ( #309 )
2020-03-19 17:46:13 -07:00
Lena Hellström
15379ee5b2
Overoptimize slice reader ( #308 )
...
The default read implementation on slices was not generating efficient code. This custom implementation generates much smaller assembly with fewer function calls.
2020-03-18 14:54:54 -07:00
Lena Hellström
38322212e6
update author name to current legal name
2020-03-09 18:39:39 -04:00
Kent Fredric
d5579582e0
Restore shipping tests re bug #290
...
Includes changes to travis to re-run the test suite inside a copy
of the prepared package.
Closes: https://github.com/servo/bincode/issues/290
2020-02-21 14:08:44 -05:00
jean-airoldie
4aa2a44965
Added Debug impl to Config
2020-01-23 21:35:00 +00:00
Leonard Kramer
3a3857ff38
Remove dyn
2020-01-23 09:25:41 +00:00
Leonard Kramer
c48a064bad
Fix compile warnings caused by deprecated macros.
2020-01-23 09:25:41 +00:00
jean-airoldie
e2d8742743
Add contraints to {Serializer,Deserializer}Acceptor
...
This allows the user to retreive concrete types from the
serializer & deserializer output.
2020-01-23 09:23:48 +00:00
Joonatan Saarhelo
237e6852e9
remove unnecessary let in ReadReader
2020-01-21 09:21:43 +00:00
Joonatan Saarhelo
858cee9a22
deduplicate slicing logic SliceReader
2020-01-21 09:21:43 +00:00
Joonatan Saarhelo
28da4dbf56
improve documentation of BincodeRead
2020-01-21 09:21:43 +00:00
David Tolnay
6c4b23ce62
Release 1.2.1
2019-12-09 22:25:24 -08:00
David Tolnay
04cc5ba85f
Merge pull request #281 from jstarry/fix-emscripten-builds
...
Fix emscripten build failures due to lack of i128 support
2019-12-09 22:25:00 -08:00
jean-airoldie
a2d54866d4
Added Clone impl to Config
2019-11-04 07:46:43 -05:00
Josh Mcguigan
c06b18abed
improve safety of fill_buffer - see issue #260
2019-10-30 21:06:56 -04:00
Justin Starry
0215da2d29
Fix emscripten build failures due to lack of i128 support
2019-10-19 19:51:34 -04:00
Josh Matthews
293e9cea32
Release 1.2.0.
2019-09-24 14:16:47 -04:00
Josh Matthews
d4d13aa37c
Release 1.1.5.
2019-09-23 18:56:44 -04:00
alecmocatta
9d6e4f5ae6
Add tests
2019-09-06 17:38:28 -04:00
alecmocatta
ecbef8d1bb
add remaining _seed variants of deserialize functions
2019-09-06 17:38:28 -04:00
Alex Touchet
30ada4acda
Readme cleanup
2019-07-25 17:11:51 -04:00
atouchet
43b6c2c516
Update URLs
2019-05-24 22:36:59 -04:00
David Tolnay
18da2c95d5
Release 1.1.4
2019-05-14 21:16:49 -07:00
David Tolnay
7fbeae0f5a
Merge pull request #268 from quininer/patch-1
...
Fix autocfg version
2019-05-14 21:16:16 -07:00
quininer
32d080586f
Fix autocfg version
2019-05-15 12:05:44 +08:00
David Tolnay
107a1930b5
Update documentation to 2018 edition
2019-04-30 01:18:32 -07:00
David Tolnay
c954d3352c
Remove unneeded ```rust from rustdoc
2019-04-30 01:15:01 -07:00
David Tolnay
0a67cf66e7
Release 1.1.3
2019-04-07 17:28:48 -07:00
David Tolnay
e4eca8871f
Merge pull request #264 from kornelski/patch-1
...
Add encoding crates.io category
2019-04-07 17:27:47 -07:00
David Tolnay
2b48df8925
Test only compilation on rust 1.18
...
This is bincode's current minimum supported Rust version but we have
dev-dependencies that require a newer version.
2019-04-07 16:37:03 -07:00
David Tolnay
74422cfaae
Update serde_bytes dependency to 0.11
2019-04-07 16:31:53 -07:00
Kornel
84a7fa4912
Add encoding crates.io category
...
The crate is useful more generally than just for network programming
2019-03-29 21:13:58 +00:00
David Tolnay
31f68efe85
Remove outdated changelist
2019-02-16 11:42:51 -08:00
David Tolnay
4c90de0e3f
Release 1.1.2
2019-02-16 11:34:13 -08:00
David Tolnay
65f87aefd4
Bump byteorder requirement to 1.3.0
...
1.3.0 is the first version that performs auto detection of i128 support,
which we rely on.
2019-02-16 11:33:31 -08:00
David Tolnay
e8533f1bdf
Simplify semver dependency syntax
2019-02-16 11:33:13 -08:00
David Tolnay
ee76b6dabd
Remove CI for unused i128 feature
2019-02-16 11:29:18 -08:00
David Tolnay
f5af5b992b
Define html_root_url
2019-02-16 11:28:17 -08:00
David Tolnay
254cf0ce61
Release 1.1.1
2019-02-16 11:22:49 -08:00
Diggory Hardy
a04c750960
Make i128 support automatic for supporting Rustc versions
...
Uses autocfg
2019-01-28 09:59:18 -05:00
Jeff Muizelaar
20da2c841a
Make config() inline(always)
...
Without this we end up generating code for all configs unless LTO is on.
2018-11-20 11:13:44 -05:00
Ty Overby
d8704644d7
format
2018-09-04 16:25:10 -07:00
boxdot
0e7b438bb4
Add tests for `Config::deserialize_seed`.
2018-09-04 16:22:50 -07:00
boxdot
5633935964
Introduce `Config::deserialize_seed` for exposing serde's statefull deser.
2018-09-04 16:22:50 -07:00
David Tolnay
006e17e75b
Display a Travis badge on crates.io
2018-08-07 11:50:00 -07:00
Ty Overby
364e8638a0
publish 1.0.1
2018-06-18 09:50:54 -07:00
Ashley Mannix
7313ecbbf1
pin rustc 1.18.0 in CI
2018-05-30 09:44:38 -07:00
Ashley Mannix
2ef9a06894
add support for 128bit numbers
2018-05-30 09:44:38 -07:00