aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2018-10-29Merge pull request #272 from hcpl/tuple-supportAlex Crichton-15/+108
Support tuple Serde types for `Value`
2018-10-28Support tuple Serde types for `Value`hcpl-15/+108
2018-10-01Bump to 0.4.8Alex Crichton-1/+1
2018-10-01Merge pull request #263 from Deewiant/final-quote-fixAlex Crichton-0/+20
Avoid panic on pretty string ending in single quote
2018-10-01Avoid panic on pretty string ending in single quoteMatti Niemenmaa-0/+20
Fixes #262.
2018-09-25Bump to 0.4.7Alex Crichton-1/+1
2018-09-25Merge pull request #261 from rhysd/fix-multiline-string-keyAlex Crichton-31/+53
Fix multi-line strings are not allowed for key (#260)
2018-09-25Fix multi-line strings are not allowed for keyrhysd-31/+53
In spec https://github.com/toml-lang/toml#keys Quoted keys are clarified as > he exact same rules as either basic strings or literal strings TOML clearly distinguishes basic string and multi-line basic string (literal string is also). https://github.com/toml-lang/toml#string So table key and quoted key should not allow multi-line basic string and multi-line literal string. ABNF definition also describes that. https://github.com/toml-lang/toml/blob/master/toml.abnf ``` string = ml-basic-string / basic-string / ml-literal-string / literal-string quoted-key = basic-string / literal-string ``` `string` contains `ml-*` but `quoted-key` doesn't.
2018-08-06Merge pull request #255 from kornelski/masterAlex Crichton-0/+29
Support deserializing from other integer types
2018-08-06Test serde_json interoperabilityKornel-0/+13
2018-08-05Merge pull request #254 from ehuss/macro-0.5Alex Crichton-46/+214
Support the new 0.5 syntax in the toml! macro.
2018-08-05Support deserializing from other integer typesKornel-0/+16
2018-08-05Support the new 0.5 syntax in the toml! macro.Eric Huss-46/+214
- Space in datetime. - +- inf, nan, 0.0 - Dotted keys.
2018-07-28Merge pull request #252 from ehuss/dotted-keysAlex Crichton-7/+113
0.5: Support dotted keys.
2018-07-27Don't allow intermixing inline tables and dotted key tables.Eric Huss-17/+7
2018-07-16Support older rustc.Eric Huss-4/+4
2018-07-160.5: Support dotted keys.Eric Huss-6/+122
cc #224
2018-07-11Merge pull request #249 from ehuss/int-radixAlex Crichton-31/+66
0.5: Support hex/oct/bin integers.
2018-07-110.5: Support hex/oct/bin integers.Eric Huss-31/+66
cc #224
2018-07-11Merge pull request #251 from ehuss/datetime-spaceAlex Crichton-3/+19
0.5: Support space separator in datetime.
2018-07-11Merge pull request #250 from ehuss/reject-delAlex Crichton-2/+4
0.5: Reject 0x7f (DEL) in strings.
2018-07-11Merge pull request #248 from ehuss/float-0.5Alex Crichton-44/+117
0.5: Support floats nan, inf, and +/-0.0.
2018-07-110.5: Support floats nan, inf, and +/-0.0.Eric Huss-44/+117
cc #224
2018-07-100.5: Reject 0x7f (DEL) in strings.Eric Huss-2/+4
cc #224
2018-07-100.5: Support space separate in datetime.Eric Huss-3/+19
cc #224
2018-05-24Merge pull request #245 from alexcrichton/tuplesAlex Crichton-16/+116
Support fixed-length arrays
2018-05-24Support fixed-length arraysAlex Crichton-16/+116
Turns out these are deserialized/serialized as tuples! While we're at it add support for tuple variants and tuple structs through the same paths. Closes #244
2018-05-24Bump to 0.4.6Alex Crichton-1/+1
2018-05-09Merge pull request #239 from udoprog/spansAlex Crichton-96/+427
Support spans when deserializing serde structures
2018-05-09Merge pull request #241 from avdv/fix-240Alex Crichton-8/+11
Treat unicode hex digits case-insensitively
2018-05-09Treat unicode hex digits case-insensitivelyClaudio Bley-8/+11
In Rust >= 1.24.0 we could have used `char::is_ascii_hexdigit`, but to keep compatiblity with older versions, `char::is_digit(16)` is used. Fixes #240.
2018-05-09Make spanned module private and hide internalsJohn-John Tedro-10/+44
2018-05-07Reintroduce serde_derive as dev-dependenciesJohn-John Tedro-0/+1
2018-05-07Fix incorrectly reported spans for DatetimeJohn-John Tedro-13/+47
2018-05-07Use BorrowedStrDeserializer instead of generated key deserializersJohn-John Tedro-56/+7
2018-05-07Adjust spans for more complex typesJohn-John Tedro-27/+67
2018-05-07Use custom struct/field naming to deserialize spansJohn-John Tedro-63/+208
2018-05-06Proof of concept: reporting span information to a Spanned<T> typeDavid Tolnay-52/+178
2018-05-01Merge pull request #237 from udoprog/spansAlex Crichton-75/+110
Make Tokenizer emit spans
2018-05-01Make Tokenizer emit spansJohn-John Tedro-75/+110
2018-04-16Merge pull request #234 from kornelski/masterAlex Crichton-4/+4
Replace try!() with ?
2018-04-16Replace try!() with ?Kornel-4/+4
2017-12-02Merge pull request #220 from LeopoldArkham/masterAlex Crichton-1/+1
Small copy-paste error in license text
2017-12-02Serde -> toml-rsLeopoldArkham-1/+1
2017-11-20Merge pull request #217 from dtolnay/macroAlex Crichton-0/+686
A toml macro
2017-11-12A toml macroDavid Tolnay-0/+671
2017-11-12Move tests into their own crateDavid Tolnay-0/+15
2017-10-30Clarify wording of license information in README.Alex Crichton-4/+13
This text historically was copied verbatim from rust-lang/rust's own README [1] with the intention of licensing projects the same as rustc's own license, namely a dual MIT/Apache-2.0 license. The clause about "various BSD-like licenses" isn't actually correct for almost all projects other than rust-lang/rust and the wording around "both" was slightly ambiguous. This commit updates the wording to match more precisely what's in the standard library [2], namely clarifying that there aren't any BSD-like licenses in this repository and that the source is licensable under either license, at your own discretion. [1]: https://github.com/rust-lang/rust/tree/f0fe716dbcbf2363ab8f929325d32a17e51039d0#license [2]: https://github.com/rust-lang/rust/blob/f0fe716dbcbf2363ab8f929325d32a17e51039d0/src/libstd/lib.rs#L5-L9
2017-09-15Merge pull request #213 from behnam/docAlex Crichton-7/+7
[value] Fix some method docs
2017-09-14[value] Fix some method docsBehnam Esfahbod ✅-7/+7