Commit graph

26 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 414a61cb84 Update travis token 2016-11-19 09:16:51 -08:00
Alex Crichton 0fd42c9e17 Move travis from 1.0.0 -> stable 2016-01-25 13:04:04 -08:00
Alex Crichton 0c4c78d68c Update travis syntax 2015-12-15 10:02:35 -08:00
Alex Crichton 1723654a08 Don't run serde tests on 1.0.0 2015-11-29 15:01:34 -08:00
Kerhong c17bb0fdac Add stable Rust build to Travis-CI config 2015-09-25 19:47:18 +03: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 2683e19682 Upload docs only on nightly 2015-07-10 15:09:04 -07:00
Alex Crichton 5cf475fc40 Use travis-cargo for coverage + doc upload 2015-07-10 15:03:01 -07:00
Alex Crichton 971700148b Test on beta as well 2015-05-15 11:52:49 -07:00
Alex Crichton 321afe6205 Try out a new travis config 2015-05-15 11:50:37 -07:00
Alex Crichton a65e91bf57 Continue to tweak travis for serde 2015-04-21 13:35:29 -07:00
Alex Crichton 3301c39630 Tweak some style 2015-04-21 09:16:06 -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 e14c2052b7 Don't upload extra docs on travis 2015-03-03 20:35:04 -08:00
Alex Crichton aef183823c Tweak travis config 2015-01-11 21:33:04 -08:00
Alex Crichton a8f96a60c2 Don't email on successful travis builds 2014-10-29 12:49:19 -07:00
Alex Crichton 05c1eb420f Update travis config 2014-10-05 10:30:46 -07:00
Alex Crichton a0d11bf7d6 Upload docs to Rust CI as well 2014-09-22 21:43:30 -07:00
Alex Crichton c9a6415e15 Tweak travis config 2014-09-16 07:15:24 -07:00
Alex Crichton a4f07b40f5 Cargo now runs doc tests 2014-08-07 09:09:55 -07:00
Alex Crichton 934e093047 Put documentation on github 2014-08-03 21:36:44 -07:00
Alex Crichton bec6b768ec Update travis config 2014-07-14 12:51:12 -07:00
Alex Crichton 3f6def94a4 Update travis config 2014-07-10 12:34:53 -07:00
Alex Crichton e0d451604a Add a travis yml 2014-06-20 17:09:35 -07:00