David Tolnay
229a9d90ba
Update path to alloc::collections for nightly-2018-07-07
2018-07-06 20:04:23 -07:00
David Tolnay
3bcd568c86
Release 1.0.69
2018-06-30 23:40:28 -07:00
David Tolnay
dc56077aac
Local inner macros
2018-06-30 23:38:14 -07:00
David Tolnay
46bd36e17c
Link to issue picker
2018-06-30 10:30:14 -07:00
David Tolnay
5dee9118c7
Factor out the getting help links
2018-06-30 10:29:36 -07:00
David Tolnay
a916aa9420
Release 1.0.68
2018-06-28 09:31:12 -07:00
David Tolnay
d9c63d0784
Merge pull request #1324 from jechase/suppress_2018_warning
...
Suppress 'extern crate' warning for rust 2018
2018-06-28 09:30:40 -07:00
Josh Chase
41dcb969e8
Shut clippy up
2018-06-28 11:12:27 -04:00
Josh Chase
6dbaea34ba
Suppress 'extern crate' warning for rust 2018
2018-06-28 10:51:57 -04:00
David Tolnay
ce17301b8b
Release 1.0.67
2018-06-27 00:18:03 -07:00
David Tolnay
b0e78c6be4
Format with rustfmt 0.8.2
2018-06-27 00:16:06 -07:00
David Tolnay
898f65fa46
Merge pull request #1323 from dtolnay/format-args
...
Implement Serialize for core::fmt::Arguments
2018-06-27 00:15:55 -07:00
David Tolnay
84e384196d
Implement Serialize for core::fmt::Arguments
2018-06-26 23:58:16 -07:00
David Tolnay
d827b101d9
Resolve default_trait_access lint
2018-06-26 23:58:02 -07:00
David Tolnay
c45ab6b304
Ignore indexing_slicing pedantic lint
2018-06-26 23:56:39 -07:00
David Tolnay
cc9d85b293
Work around unused_imports rustdoc bug
2018-06-26 23:54:32 -07:00
David Tolnay
02493d83be
Ignore indexing_slicing pedantic lint
2018-06-26 23:39:26 -07:00
David Tolnay
a1280c672a
Switch no-std panic to #[panic_implementation]
2018-06-04 10:13:29 -07:00
David Tolnay
a740f76772
Update no-std panic signature for nightly-2018-06-03
2018-06-03 23:15:16 -07:00
David Tolnay
a887db398b
Release 1.0.66
2018-06-03 11:45:20 -07:00
Oliver Schneider
e1ae3c71f3
Merge pull request #1304 from dtolnay/ci
...
CI builders for all versions mentioned in the build script
2018-06-03 10:44:32 +02:00
David Tolnay
d094209774
CI builders for all versions mentioned in the build script
...
This should prevent accidentally inserting something under one of these
cfgs that is available only on a newer rustc. For example if something
is changed in the Duration serialization, but that change works only on
a recent rustc, our test suite will not have caught it before.
2018-06-03 01:26:58 -07:00
David Tolnay
485a64aaf9
Visitor for types that parse from a string
2018-06-03 01:19:46 -07:00
David Tolnay
3e57cd5917
Merge pull request #1303 from dtolnay/duration
...
Support Duration in no-std mode on new compilers
2018-06-03 01:05:39 -07:00
David Tolnay
b6c4cfec37
Support Duration in no-std mode on new compilers
2018-06-03 00:55:58 -07:00
David Tolnay
94853752a1
Stabilize some unstable tests in test suite
2018-06-03 00:31:20 -07:00
David Tolnay
bd366f675e
Merge pull request #1302 from dtolnay/never
...
Implement traits for `!`
2018-06-03 00:30:19 -07:00
David Tolnay
22b1af7eb3
Test never_type
2018-06-03 00:22:11 -07:00
David Tolnay
fd6178cad6
IntoDeserializer for !
2018-06-03 00:12:02 -07:00
David Tolnay
338fb67853
Implement traits for !
2018-06-03 00:02:29 -07:00
David Tolnay
0a71fe329c
Format the compile-test sources with rustfmt 0.8.2
2018-06-02 22:30:55 -07:00
David Tolnay
a4acc83282
Place compile-fail expected errors on their own line
2018-06-02 22:28:05 -07:00
David Tolnay
57de28744c
These match-expressions are implementing unwrap_or_else
2018-06-02 22:09:04 -07:00
David Tolnay
6d31ec521b
Remove leftover import from compile_error change
2018-06-02 22:01:45 -07:00
David Tolnay
7ad3d17e59
Merge pull request #1297 from adamcrume/master
...
Use compile_error! instead of panicking
2018-06-02 22:00:24 -07:00
Adam Crume
05e931b9a5
Update tests and use quote! macro
2018-06-02 21:11:42 -07:00
David Tolnay
2db2b53bbf
Release 1.0.65
2018-06-01 13:00:58 -07:00
David Tolnay
d5ec3efe49
Merge pull request #1299 from dtolnay/flattenmap
...
Allow multiple flattened maps to see the same fields
2018-06-01 13:00:45 -07:00
David Tolnay
71fc318474
Merge pull request #1300 from dtolnay/refcell
...
Use try_borrow for serializing RefCell
2018-06-01 12:58:03 -07:00
David Tolnay
5ee2fc0562
Allow multiple flattened maps to see the same fields
...
Before this change, flattening anything after a flattened map was
nonsensical because the later flattened field would always observe no
input fields.
#[derive(Deserialize)]
struct S {
#[serde(flatten)]
map: Map<K, V>,
#[serde(flatten)]
other: Other, // always empty
}
This change makes a flattened map not consume any of the input fields,
leaving them available to later flattened fields in the same struct. The
new behavior is useful when two flattened fields that both use
deserialize_map care about disjoint subsets of the fields in the input.
#[derive(Deserialize)]
struct S {
// Looks at fields with a "player1_" prefix.
#[serde(flatten, with = "prefix_player1")]
player1: Player,
// Looks at fields with a "player2_" prefix.
#[serde(flatten, with = "prefix_player2")]
player2: Player,
}
2018-06-01 12:50:23 -07:00
David Tolnay
ca53daf697
Fix RefCell serialize impl to work with no-std
2018-06-01 12:47:10 -07:00
Konrad Borowski
c3b9ee314b
Use try_borrow for serializing RefCell
2018-06-01 09:09:40 +02:00
Adam Crume
993710eb16
Use compile_error! instead of panicking
...
Fixes #1168
2018-05-31 19:57:23 -07:00
David Tolnay
dbaf2893e3
Release 1.0.64
2018-05-30 00:17:45 -07:00
David Tolnay
34a7108b73
Second attempt at workaround for docs.rs compiler
2018-05-30 00:17:02 -07:00
David Tolnay
db2bafd3f3
Revert "Work around docs.rs using an old 1.26-dev compiler"
...
This reverts commit c81bab18ad
.
2018-05-30 00:13:20 -07:00
David Tolnay
1b6fbf1023
Release 1.0.63
2018-05-28 20:12:08 -07:00
David Tolnay
c81bab18ad
Work around docs.rs using an old 1.26-dev compiler
2018-05-28 19:58:27 -07:00
David Tolnay
a39199e9f7
Reword Avro blurb
...
- Emphasize the association with Apache Hadoop,
- Rephrase "schematized data" because that term returns not many Google
results, doesn't seem widely recognized.
2018-05-27 19:39:50 -07:00
David Tolnay
b0ad1e56e8
Move Avro above deserialization-only formats
2018-05-27 19:31:05 -07:00