948 Commits

Author SHA1 Message Date
David Tolnay
50656bd7de
Release 1.0.49 v1.0.49 2020-03-27 23:19:22 -07:00
David Tolnay
4752793b4a
Merge pull request #643 from serde-rs/nostd
Improve error message when neither std nor alloc is enabled
2020-03-27 23:18:09 -07:00
David Tolnay
8afacb9051
Improve error message when neither std nor alloc is enabled 2020-03-27 23:01:37 -07:00
David Tolnay
da0a39fff7
Provide optimized collect_str methods for Value serializer 2020-03-27 23:00:55 -07:00
David Tolnay
f59b637295
Don't reallocate the string in serialize_char 2020-03-27 22:59:31 -07:00
David Tolnay
665d1c57ae
Merge pull request #642 from serde-rs/sized
Move ?Sized bounds out of generic parameter lists
2020-03-27 22:40:55 -07:00
David Tolnay
8db39542bb
Move ?Sized bounds out of generic parameter lists 2020-03-27 22:30:53 -07:00
David Tolnay
2a8ed51a65
Merge pull request #641 from serde-rs/collect
Implement collect_str for map keys
2020-03-27 22:30:40 -07:00
David Tolnay
290768cf35
Implement collect_str for map keys 2020-03-27 22:13:11 -07:00
David Tolnay
7c130827eb
Standardize on using Result type alias where possible 2020-03-27 22:10:52 -07:00
David Tolnay
2da5e20682
Format with rustfmt 2020-03-11 2020-03-27 22:07:12 -07:00
David Tolnay
9c3b182b97
Merge pull request #639 from serde-rs/map
Simplify Map's PartialEq impl
2020-03-27 09:46:27 -07:00
David Tolnay
1583c169e2
Simplify Map's PartialEq impl 2020-03-27 09:25:08 -07:00
David Tolnay
7fc2890150
Select a single docs.rs build target 2020-03-17 13:32:08 -07:00
David Tolnay
49fd82b633
Update url for "Setting up derive" page 2020-03-14 22:34:25 -07:00
David Tolnay
f4c8c5188a
Suppress wildcard import pedantic lints 2020-02-25 18:36:25 -08:00
David Tolnay
56c569b0f8
Suppress buggy excessive_precision lint
https://github.com/rust-lang/rust-clippy/issues/5201
2020-02-19 20:43:54 -08:00
David Tolnay
ed479b4656
Release 1.0.48 v1.0.48 2020-02-12 21:39:13 -08:00
David Tolnay
ae4bbff11f
Show implementation of to_value in value::Serializer docs 2020-02-12 21:38:48 -08:00
David Tolnay
03e27f5eb7
Extend documentation of value::Serializer 2020-02-12 21:38:48 -08:00
David Tolnay
d5b4be8509
Merge pull request #621 from sdleffler/master
Expose `value::ser::Serializer`
2020-02-12 21:38:18 -08:00
Sean Leffler
9851d44dcc expose value serializer 2020-02-12 18:48:10 -08:00
David Tolnay
5efd1f4f1b
Ignore match_single_binding clippy lint 2020-02-12 18:19:23 -08:00
David Tolnay
8d0505803b
Update ui tests to nightly-2020-02-08 2020-02-07 18:07:46 -08:00
David Tolnay
6b5ded97b4
Release 1.0.47 v1.0.47 2020-02-07 11:42:29 -08:00
David Tolnay
b4d56a79d1
Merge pull request #617 from Xanewok/serde-no-std-error
Require serde >= 1.0.100 due to no_std-related Error re-export
2020-02-07 11:41:11 -08:00
Igor Matuszewski
8fdfedb5c1 Require serde >= 1.0.100 due to no_std-related Error re-export
Relevant Serde PR: https://github.com/serde-rs/serde/pull/1620

To support both no-/std builds without using somewhat noisy
conditional compilation directives, we implement the re-exported
`serde:🇩🇪:StdError` trait in https://github.com/serde-rs/json/pull/606.

However, this was only introduced in >= 1.0.100, so we need to bump
the version requirement of serde.

On the off chance of someone pulling in incompatible 1.0.4{5,6} versions
of serde_json, I believe it'd be good to yank those and cut a new
release with this patch.

Sorry for the omission in the original PR.

Fixes #612.
2020-02-07 20:10:44 +01:00
David Tolnay
39ed887748
Release 1.0.46 v1.0.46 2020-02-02 12:41:03 -08:00
David Tolnay
5263b6f0ed
Fixup serialize_entry PR 2020-02-02 12:39:45 -08:00
David Tolnay
1059dc3fed
Merge pull request #614 from jmfiaschi/map-serialize-entry
replace serialize key,value functions by serialize_entry
2020-02-02 12:37:33 -08:00
Jean-Marc Fiaschi
0b43936690 remplace serialize key,value functions by serialize_entry
call serialize_key/value into serialize_entry
2020-02-02 17:25:24 +01:00
David Tolnay
a03d5ffaa2
Merge pull request #610 from adetaylor/edit-test-instructions
Removing obsolete test instructions.
2020-01-24 21:39:21 -08:00
David Tolnay
f3b059c006
Discard unimportant lines from ui tests 2020-01-24 21:36:31 -08:00
Adrian Taylor
d19f389248 Removing obsolete test instructions. 2020-01-24 21:29:21 -08:00
David Tolnay
a39bcade70
Release 1.0.45 v1.0.45 2020-01-22 16:02:36 -08:00
David Tolnay
af4e6a1e91
Copy no-std note to rustdoc 2020-01-22 16:01:36 -08:00
David Tolnay
dca5037ee6
Tweak no-std wording to show Cargo.toml snippet 2020-01-22 16:00:55 -08:00
David Tolnay
67dfe5951b
Switch rustfmt skip to tool attribute 2020-01-22 15:57:07 -08:00
David Tolnay
41c3ab7e4a
Merge pull request #609 from Xanewok/patch-1
Correct no-std support in README.md
2020-01-22 15:56:52 -08:00
Igor Matuszewski
b855996096
Correct no-std support in README.md 2020-01-23 00:29:16 +01:00
David Tolnay
4bcc3625c3
Adopt dyn syntax for trait objects 2020-01-22 14:07:17 -08:00
David Tolnay
50faa3c000
Adopt inclusive range syntax 2020-01-22 14:06:03 -08:00
David Tolnay
17824dc1ea
Remove error variants that are never constructed 2020-01-22 14:04:18 -08:00
David Tolnay
7cf0156d47
Switch to tool attrs 2020-01-22 14:03:12 -08:00
David Tolnay
97f87f2587
Adopt pub(crate) 2020-01-22 13:59:08 -08:00
David Tolnay
17d9a5ea9b
Organize imports 2020-01-22 13:53:35 -08:00
David Tolnay
3040daa1c6
Update tests to 2018 edition 2020-01-22 13:45:47 -08:00
David Tolnay
c19f26a518
Update serde_json_test to 2018 edition 2020-01-22 13:43:34 -08:00
David Tolnay
d095bab515
Remove ```edition2018 from doc tests after edition update 2020-01-22 13:42:51 -08:00
David Tolnay
70b64fd657
Update to 2018 edition 2020-01-22 13:41:21 -08:00