Commit graph

47 commits

Author SHA1 Message Date
Alex Crichton e256931e9b Rewrite crate with serde support from ground up
This commit completely rewrites this crate from the ground up,
supporting serde at the lowest levels as I believe serde support was
intended to do. This is a major change from the previous versions of
this crate, with a summary of changes being:

* Serialization directly to TOML is now supported without going through
  a `Value` first.

* Deserialization directly from TOML is now supported without going
  through a `Value`. Note that due to the TOML format some values still
  are buffered in intermediate memory, but overall this should be at a
  minimum now.

* The API of `Value` was overhauled to match the API of
  `serde_json::Value`. The changes here were to:

  * Add `is_*` accessors
  * Add `get` and `get_mut` for one-field lookups.
  * Implement panicking lookups through `Index`

  The old `index` methods are now gone in favor of `get` and `Index`
  implementations.

* A `Datetime` type has been added to represent a TOML datetime in a
  first-class fashion. Currently this type provides no accessors other
  than a `Display` implementation, but the idea is that this will grow
  support over time for decomposing the date.

* Support for the `rustc-serialize` crate has been dropped, that'll stay
  on the 0.2 and 0.1 release trains.

* This crate no longer supports the detection of unused fields, for that though
  you can use the `serde_ignored` crate on crates.io
2017-02-08 21:21:18 -08:00
Alex Crichton 530f112da8 Bump to 0.2.1 2016-09-08 14:48:30 -07:00
Alex Crichton 70d15bdcf3 Bump to 0.2.0 2016-08-01 09:30:16 -07:00
David Tolnay 492690669e Update to serde 0.8.0 2016-07-28 11:09:40 -07:00
Alex Crichton 924f81c5fb Bump to 0.1.30 2016-05-16 10:18:07 -07:00
Alex Crichton 6b0761fcce Bump to 0.1.29 2016-05-12 11:28:56 -07:00
Alex Crichton cf4656cb3a Bump to 0.1.28 2016-03-11 09:23:01 -08:00
Alex Crichton d02e622330 WIP 2016-03-07 23:48:01 -08:00
Alex Crichton 77be56048c Bump to 0.1.27 2016-02-01 16:50:25 -08:00
Alex Crichton b644d9577f Bump to 0.1.26 2016-01-25 16:53:20 -08:00
Alex Crichton 12f39767a8 Bump to 0.1.25 2015-12-18 16:29:29 -08:00
Alex Crichton bfbeea6b44 Bump to 0.1.24 2015-12-10 06:07:56 -08:00
Alex Crichton 6188b884fd Update dependencies 2015-11-29 14:52:35 -08:00
Alex Crichton b5af93a08e Bump to 0.1.23 2015-10-07 09:50:59 -07:00
Alex Crichton 13513f95b6 Bump to 0.1.22 2015-08-13 09:56:51 -07:00
Alex Crichton f011b01051 Make serde-tests a standalone crate 2015-08-13 09:39:49 -07:00
Erick Tryzelaar 4e0172a9a5 Merge remote-tracking branch 'remotes/origin/master' into serde 2015-08-12 22:15:58 -07:00
Alex Crichton c5119e743c Bump to 0.1.21 2015-06-23 17:45:55 -07: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 abe9e16da6 Bump to 0.1.18 2015-02-25 14:53:33 -08:00
Robin Gloster 6fed03463c Bump rustc-serialize to 0.3 2015-02-24 15:26:17 +01:00
Alex Crichton a2aad06dde Bump to 0.1.17 2015-02-11 11:16:42 -08:00
Alex Crichton 0042025904 Bump to 0.1.16 2015-02-03 08:37:05 -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 b2ce7ff6d1 Bump to 0.1.13 2015-01-19 13:16:59 -08:00
Alex Crichton 34aaa5f384 Bump to 0.1.12 2015-01-15 19:48:13 -08:00
Alex Crichton d4319caa20 Bump to 0.1.11 2015-01-09 11:50:54 -08:00
Alex Crichton 35bd36cefd Bump to 0.1.10 2015-01-07 08:49:12 -08:00
Alex Crichton 9ad45aaab4 Bump to 0.1.9 2015-01-06 07:34:31 -08:00
Alex Crichton 5604270dc7 Bump version number 2015-01-03 12:41:02 -08:00
Valerii Hiora 887e5ff844 Update to master
- updated `rustc-serialize` dependency, in other case `toml-rs`
  prohibits `rustc-serialize` update on other crates
- updated after syntax and lib changes
2015-01-03 18:01:19 +02:00
Alex Crichton 31ee496621 Update to rust master 2014-12-23 08:01:45 -08:00
Alex Crichton f16498b8db Update to rust master 2014-12-22 08:17:46 -08:00
Alex Crichton 95c6161dce Update to rust master 2014-12-20 22:35:30 -08:00
Alex Crichton f2f8d3fe6e Bump version number 2014-12-19 08:17:52 -08:00
Alex Crichton 25e10a8256 Bump version number
Closes #35
2014-12-07 18:19:46 -08:00
Alex Crichton f6f4b377b2 Bump version number 2014-11-22 09:23:33 -08:00
Alex Crichton 3dfa68dc44 Bump version number 2014-11-21 19:36:11 -08:00
Alex Crichton 14109a2f69 Bump version number 2014-11-18 21:48:39 -08:00
Alex Crichton 3df39b2e18 Specify some more cargo metadata 2014-10-27 23:02:43 -07:00
Alex Crichton 934e093047 Put documentation on github 2014-08-03 21:36:44 -07:00
Alex Crichton 019cd4122b Add a Cargo.toml 2014-06-20 17:12:03 -07:00