David Tolnay
|
2c183216d3
|
Fix unreachable code panic on scan error
|
2022-07-29 04:03:58 -07:00 |
David Tolnay
|
492ac3041d
|
Merge pull request #294 from dtolnay/context
Eliminate repetitive line/column context from error message
|
2022-07-29 04:03:51 -07:00 |
David Tolnay
|
4f88bf4ae2
|
Eliminate repetitive line/column context from error message
|
2022-07-29 04:00:12 -07:00 |
David Tolnay
|
4167a958bb
|
Release 0.9.0
|
2022-07-28 12:53:18 -07:00 |
David Tolnay
|
f2ef1422d7
|
Update readme to cover enums
|
2022-07-28 12:53:08 -07:00 |
David Tolnay
|
040f0a0d70
|
Merge pull request #291 from dtolnay/tovec
Remove serde_yaml::to_vec
|
2022-07-28 12:50:48 -07:00 |
David Tolnay
|
2c0c5f2f21
|
Remove serde_yaml::to_vec
|
2022-07-28 12:44:56 -07:00 |
David Tolnay
|
d9f74428d5
|
Merge pull request #290 from dtolnay/seed
Remove seed module and functions
|
2022-07-28 12:44:03 -07:00 |
David Tolnay
|
ec88cd7965
|
Remove seed module and functions
|
2022-07-28 12:39:38 -07:00 |
David Tolnay
|
33caf060ea
|
Document Value::Tagged
|
2022-07-28 12:35:19 -07:00 |
David Tolnay
|
895ddf9ac9
|
Document enum representations
|
2022-07-28 12:32:43 -07:00 |
David Tolnay
|
728df48d82
|
Improve more Debug representations
|
2022-07-28 12:01:04 -07:00 |
David Tolnay
|
92a9bdb563
|
Support unit variant nested inside another enum
|
2022-07-28 11:56:24 -07:00 |
David Tolnay
|
9c926cf163
|
Merge pull request #289 from dtolnay/doc
Document Tag and TaggedValue
|
2022-07-28 11:55:55 -07:00 |
David Tolnay
|
dc8151b18c
|
Document Tag and TaggedValue
|
2022-07-28 11:46:00 -07:00 |
David Tolnay
|
838fed7339
|
Merge pull request #288 from dtolnay/detagged
Implement Deserialize for TaggedValue
|
2022-07-28 11:34:50 -07:00 |
David Tolnay
|
348e972821
|
Implement Deserialize for TaggedValue
|
2022-07-28 11:26:26 -07:00 |
David Tolnay
|
0cc17a9d78
|
Improve error on deserializing nested enum
|
2022-07-28 10:56:58 -07:00 |
David Tolnay
|
0d581ab8fa
|
Add nested enum deserialization error test
|
2022-07-28 10:35:47 -07:00 |
David Tolnay
|
979235f4cf
|
Report error on serializing nested enum
|
2022-07-28 10:33:13 -07:00 |
David Tolnay
|
83a5cecd9b
|
Merge pull request #287 from dtolnay/debug
Handwrite a better Debug for Value
|
2022-07-28 10:33:07 -07:00 |
David Tolnay
|
cdb5036068
|
Handwrite a better Debug for Value
|
2022-07-28 10:22:17 -07:00 |
David Tolnay
|
b0d9021d93
|
Format debug test with raw string
|
2022-07-28 10:11:13 -07:00 |
David Tolnay
|
9443e99835
|
Add test of Value debug representation
|
2022-07-28 10:05:31 -07:00 |
David Tolnay
|
f667c2eea8
|
Merge pull request #286 from dtolnay/merge
Add a yaml merge key implementation
|
2022-07-28 10:00:14 -07:00 |
David Tolnay
|
4de6b48d60
|
Add yaml merge test from draft spec
|
2022-07-28 09:56:41 -07:00 |
David Tolnay
|
d87b67106e
|
Add a yaml merge key implementation
|
2022-07-28 09:52:39 -07:00 |
David Tolnay
|
23cbbef2e9
|
Use write_str over debug_tuple for unit variants
|
2022-07-28 09:45:35 -07:00 |
David Tolnay
|
3b2d07cdcc
|
Remove internal error construction functions
|
2022-07-28 09:42:48 -07:00 |
David Tolnay
|
6fa3aed0b2
|
Merge pull request #285 from dtolnay/mapping
Expose more APIs from indexmap on Mapping
|
2022-07-28 09:42:39 -07:00 |
David Tolnay
|
92f764873b
|
Require new APIs of indexmap
|
2022-07-28 09:25:58 -07:00 |
David Tolnay
|
edaa9427b4
|
Add VacantEntry::into_key
|
2022-07-28 09:22:40 -07:00 |
David Tolnay
|
3888976a8e
|
Add OccupiedEntry::remove_entry
|
2022-07-28 09:22:01 -07:00 |
David Tolnay
|
1fff1c9631
|
Add Mapping::into_values
|
2022-07-28 09:19:36 -07:00 |
David Tolnay
|
cca60006fe
|
Add Mapping::values_mut
|
2022-07-28 09:19:08 -07:00 |
David Tolnay
|
46227a2f1e
|
Add Mapping::values
|
2022-07-28 09:18:29 -07:00 |
David Tolnay
|
79d6da8a7e
|
Add Mapping::into_keys
|
2022-07-28 09:17:42 -07:00 |
David Tolnay
|
9244674c56
|
Add Mapping::keys
|
2022-07-28 09:16:07 -07:00 |
David Tolnay
|
7b171b7b79
|
Add Mapping::retain
|
2022-07-28 09:11:49 -07:00 |
David Tolnay
|
7aef11053b
|
Add Mapping::remove_entry
|
2022-07-28 09:10:03 -07:00 |
David Tolnay
|
2051d819ec
|
Eliminate allocation from Value indexing by str
|
2022-07-28 01:45:21 -07:00 |
David Tolnay
|
41928c28fc
|
Eliminate double clone from index_or_insert
|
2022-07-28 01:44:52 -07:00 |
David Tolnay
|
3666dc71a5
|
Handle more Tagged interactions in indexing
|
2022-07-28 01:30:48 -07:00 |
David Tolnay
|
6e11c83a34
|
Move untag/untag_ref to tagged module
|
2022-07-28 01:20:43 -07:00 |
David Tolnay
|
896e2fa71a
|
Use indexmap's Entry API for simpler indexing
|
2022-07-28 01:15:04 -07:00 |
David Tolnay
|
a4b3294bc8
|
Merge pull request #284 from dtolnay/hash
Eliminate allocation from Mapping indexing by str
|
2022-07-28 01:08:15 -07:00 |
David Tolnay
|
d41abb0162
|
Ignore derive_hash_xor_eq clippy lint
error: you are implementing `Hash` explicitly but have derived `PartialEq`
--> src/value/mod.rs:602:1
|
602 | / impl Hash for Value {
603 | | fn hash<H: Hasher>(&self, state: &mut H) {
604 | | mem::discriminant(self).hash(state);
605 | | match self {
... |
614 | | }
615 | | }
| |_^
|
= note: `-D clippy::derive-hash-xor-eq` implied by `-D clippy::all`
note: `PartialEq` implemented here
--> src/value/mod.rs:22:17
|
22 | #[derive(Clone, PartialEq, PartialOrd, Debug)]
| ^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_hash_xor_eq
= note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2022-07-28 01:05:09 -07:00 |
David Tolnay
|
977af48614
|
Eliminate allocation from Mapping indexing by str
|
2022-07-28 00:58:51 -07:00 |
David Tolnay
|
5e98d06c9f
|
Merge pull request #283 from dtolnay/index
Support indexing into Mapping by str or String
|
2022-07-28 00:58:44 -07:00 |
David Tolnay
|
5f578b89f1
|
Support indexing into Mapping by str or String
|
2022-07-28 00:54:17 -07:00 |