Bourgond Aries
0e3e0654ba
Implement advanced key lookup for lookup_mut
2016-03-27 20:48:23 +02:00
Bourgond Aries
3517215eab
Implement a more advanced algorithm for lookup
...
The new algorithm allows the explicit usage of "" and '' to denote key
names. This is useful for accessing tables or keys that are named in a
non-conventional manner.
2016-03-27 20:46:19 +02:00
Bourgond Aries
b171205c57
Add a test to see if the table's contents have changed
2016-03-25 17:43:32 +01:00
Bourgond Aries
32969ca891
Implement the non-recursive lookup_mut
...
Also include some tests simply by copying and modifying
the other tests for lookup.
2016-03-25 17:33:46 +01:00
Bourgond Aries
9b1dc843fc
Add lookup_mut method for mutable access
...
Mutable access may sometimes be desired in order to change values
in the toml table. This can be used for dynamic configurations which
will be easy to modify and store.
lookup_mut requires a recursive method due to the borrow checker
not allowing to have more than one mutable reference in the same
scope.
2016-03-24 14:18:00 +01:00
Corey Farwell
7be39d725d
Address issues found by rust-clippy
2016-01-21 08:38:09 -05:00
Kerhong
547e202c15
Implement Value::lookup for empty path to return self
2015-09-25 19:26:47 +03:00
Erick Tryzelaar
4e0172a9a5
Merge remote-tracking branch 'remotes/origin/master' into serde
2015-08-12 22:15:58 -07:00
Alex Crichton
b70f6e53b2
Don't need to qualify String
2015-08-11 09:18:52 -07:00
Andrzej Janik
8487b63c97
Rework fix for table redefinition to avoid breaking AST-compatiblity
2015-06-06 18:11:48 +02:00
Andrzej Janik
2fcd829b1d
Disallow table redefinitions
2015-06-04 20:23:46 +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
Steven Fackler
93e5ace69c
Add a doc root url
2015-03-03 20:27:09 -05:00
Alex Crichton
0042025904
Bump to 0.1.16
2015-02-03 08:37:05 -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
0d8ce979a4
Move tests to integration tests
2015-01-15 12:44:05 -08:00
Alex Crichton
d4319caa20
Bump to 0.1.11
2015-01-09 11:50:54 -08:00
Valerii Hiora
1dfb94afba
Update to master
...
- features
- macro reform
- String/Show split in formatter
- staging
2015-01-08 19:50:03 +02:00
Alex Crichton
6195861f53
Remove old_orphan_check
2015-01-06 07:34:16 -08:00
Valerii Hiora
aeb765b723
Fallout of serialize traits changes
2015-01-06 15:39:06 +02: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
95c6161dce
Update to rust master
2014-12-20 22:35:30 -08:00
Alex Crichton
6e4e8251b1
Update to rust master
...
Closes #34
2014-12-06 14:51:51 -08:00
Alex Crichton
b6e487e05b
Update to rust master
2014-12-06 14:48:32 -08:00
Victor Berger
bfcfa89e95
Update to namespaced enum variants.
2014-11-18 09:19:13 +01:00
Valerii Hiora
6ae6fdfb97
FromStr fixes
2014-11-17 10:48:33 +02:00
Steve Klabnik
3dd74d6dbd
fix error on master
2014-11-06 08:03:38 -05:00
Alex Crichton
78acb5081d
Implement the libstd error trait for errors
2014-11-04 11:56:11 -08:00
Alex Crichton
71d1689d63
Update to rust master
2014-10-31 08:27:24 -07:00
Cristian Cobzarenco
1f79d9e7d3
Export DecodeErrorKind c-tors publicly.
2014-10-03 14:38:57 +01:00
Alex Crichton
8cdb2747de
Allow warnings for now
2014-09-23 06:39:48 -07:00
Björn Steinbrink
a56c686cc4
Remove allow(visible_private_types)
...
It's not needed and no longer supported by rustc anyway.
2014-09-23 11:38:12 +02:00
Alex Crichton
22ad6e7ea9
Update to rust master
...
Closes #19
2014-09-21 07:55:19 -07:00
Julian Orth
3ad7e6055c
add crate_name
2014-08-24 11:26:33 +02:00
Brian Koropoff
04827b4d07
Rename parser::Error to parser::ParseError
...
This avoids a conflict with serialization::Error and
actually re-exports it from the crate root as intended.
It also fixes a build break due to the new import
shadowing gate in rustc.
2014-08-17 16:46:08 -07:00
Alex Crichton
934e093047
Put documentation on github
2014-08-03 21:36:44 -07:00