Commit graph

179 commits

Author SHA1 Message Date
Alex Crichton a65e91bf57 Continue to tweak travis for serde 2015-04-21 13:35:29 -07:00
Alex Crichton 94023b1d89 Fix serde-only compilation 2015-04-21 12:00:05 -07:00
Alex Crichton 3301c39630 Tweak some style 2015-04-21 09:16:06 -07:00
Alex Crichton 5dd623d3b1 Merge pull request #61 from oli-obk/serde
Serde
2015-04-21 09:15:19 -07:00
Oliver Schneider 6e2f2c39e4 most tests work now 2015-04-20 15:11:34 +02:00
Oliver Schneider ac86f4c941 updated to master 2015-04-20 12:29:58 +02:00
Alex Crichton 41563ee01b wip 2015-04-02 17:12:37 -07:00
Alex Crichton 2d49247b92 Modularize rustc-serialize support
* Add rustc-serialize as a default feature
* Make room for for serde support
2015-04-02 17:07:37 -07:00
Alex Crichton cd33b87bf9 Bump to 0.1.20 2015-04-01 09:56:05 -07:00
Alex Crichton c8a5ca4ece Bump to 0.1.19 2015-03-25 10:11:05 -07:00
Alex Crichton 2c5aa07722 Implement Encodable for Value
We can't generically decode into one, but we can generically encode one!

Closes #58
2015-03-20 10:53:36 -07:00
Alex Crichton b852af0a60 Improve test coverage 2015-03-15 11:26:32 -07:00
Alex Crichton ff3bb7d255 Reduce usage of unstable features 2015-03-09 11:09:07 -07:00
Alex Crichton e14c2052b7 Don't upload extra docs on travis 2015-03-03 20:35:04 -08:00
Alex Crichton ce941cd80e Merge pull request #56 from sfackler/doc
Add a doc root url
2015-03-03 17:28:19 -08:00
Steven Fackler 93e5ace69c Add a doc root url 2015-03-03 20:27:09 -05:00
Alex Crichton abe9e16da6 Bump to 0.1.18 2015-02-25 14:53:33 -08:00
Alex Crichton 77547e8d08 Merge pull request #55 from globin/bump-serialize
Bump rustc-serialize to 0.3
2015-02-24 09:02:11 -08:00
Robin Gloster 6fed03463c Bump rustc-serialize to 0.3 2015-02-24 15:26:17 +01:00
Alex Crichton 1bebfa1394 Move away from deprecated syntax 2015-02-23 14:45:02 -08:00
Alex Crichton 39ffe7a449 Add v0.4.0 compliance test 2015-02-13 18:31:04 -08:00
Alex Crichton 7316b53d56 Linkify TOML in README 2015-02-13 18:21:50 -08:00
Alex Crichton a96209eba2 Clarify TOML compliance
Closes #54
2015-02-13 18:18:36 -08:00
Alex Crichton a2aad06dde Bump to 0.1.17 2015-02-11 11:16:42 -08:00
Alex Crichton 26da27e628 Add support for numbers with underscores 2015-02-11 11:15:48 -08:00
Alex Crichton 95085dba9a Implement parsing of inline tables 2015-02-07 22:02:32 -08:00
Alex Crichton 0042025904 Bump to 0.1.16 2015-02-03 08:37:05 -08:00
Alex Crichton ff8924a971 Update Cargo.toml syntax 2015-02-02 22:55:50 -08:00
Alex Crichton b3e9653b7f Properly escape keys when printing TOML
Closes #53
2015-02-02 22:54:46 -08:00
Alex Crichton 68e6c34b90 Move show.rs to display.rs 2015-02-02 22:30:06 -08:00
Alex Crichton c6b2aea11e Fix a deprecation warning 2015-02-02 22:29:51 -08:00
Alex Crichton 0a6a1cabde Add some feature gates 2015-01-29 08:42:02 -08:00
Alex Crichton 482752b5f4 Migrate to as many stable functions as possible 2015-01-27 19:29:58 -08:00
Alex Crichton 909a85069b Bump to 0.1.15 2015-01-23 08:19:29 -08:00
Alex Crichton 0c71c5d1c1 Bump to 0.1.14 2015-01-20 10:01:00 -08:00
Alex Crichton 31d99cd425 Remove slash as an escapeable character 2015-01-20 10:00:43 -08:00
Alex Crichton b2ce7ff6d1 Bump to 0.1.13 2015-01-19 13:16:59 -08:00
Alex Crichton 885db13d09 Don't infinite loop on bad keys 2015-01-19 13:16:42 -08:00
Alex Crichton 34aaa5f384 Bump to 0.1.12 2015-01-15 19:48:13 -08:00
Alex Crichton 3536cb50e6 Update key syntax to TOML master
* Bare keys contain a very limited set of characters now.
* Keys in quotes behave the same as basic strings.

Closes #47
2015-01-15 19:47:56 -08:00
Alex Crichton 46a70861d5 Add some tests from the spec 2015-01-15 17:37:13 -08:00
Alex Crichton 0285af245a Implement new rules for bare key names
* Key names are restricted to [a-zA-Z0-9_-]
* Equal signs must be on the same line (as must the next value) as the key
* Quoted keys are allowed and are parsed as basic strings.

Closes #48
2015-01-15 17:34:27 -08:00
Alex Crichton bc825a5fb5 Expand float parsing to include exponents
Closes #50
2015-01-15 16:01:27 -08:00
Alex Crichton f098d70145 Disallow leading 0s in integers/floats 2015-01-15 15:37:48 -08:00
Alex Crichton f4b2045de0 Audit string parsing, fixing a few bugs here and there
Closes #51
2015-01-15 15:23:37 -08:00
Alex Crichton 5f2c7b4986 Tighten up CRLF parsing
Fix lots of false positives with stray \r characters and also fix CRFL parsing
in raw string literals with escapes.

Closes #49
2015-01-15 15:10:42 -08:00
Alex Crichton 9dd46d6fbf Fix parsing leading + on numbers 2015-01-15 14:27:55 -08:00
Alex Crichton 931114a13c Add a few more tests from the toml-lang repo 2015-01-15 12:56:35 -08:00
Alex Crichton 0d8ce979a4 Move tests to integration tests 2015-01-15 12:44:05 -08:00
Alex Crichton aef183823c Tweak travis config 2015-01-11 21:33:04 -08:00