This changelog was started with the 0.4.0 release, so there are no logs before that version.
- The library uses 'thiserror' for error types now
- Dependencies of the library were updated
- Minimum rustc version was updated to 1.32.0
- clippy-fixes were applied
- rustfmt was applied
Bugfix release:
- Fix a panic in the resolver implementation when indexing arrays: Bounds check did not work in edgecases. Tests are also added for this.
Bugfix release:
- Fix a panic in the resolver implementation when indexing arrays: Bounds checks were missing. Tests are also added for this.
- Dependencies were updated to toml 0.5.
- Sources were updated to use rust 2018
- A feature was added to read partial documents directly into a structure This feature was introduced as normal trait, but later a proc macro was added to easily derive it.
- Switch error handling to
failure
.
- API CHANGE: The
read
,set
,delete
andinsert
function took a&String
before for the value path. This changed, they now want a&str
. Existing Code should work, asString
derefs to&str
. - Dependencies "error-chain" and "regex" were updated (thanks Bruce Mitchener)
- Automatic de/serialization was added (See the new {read,insert,delete,set}_serialize functions)
TomlValueReadTypeExt
requires nowTomlValueReadExt
.- Changed API semantics for the typed read API: The functions return
Result<Option<_>>
again, not onlyResult<_>
- Minimum required rust compiler version is now 1.20.0
- Dependencies were updated
- Added method for requesting a type directly from the TOML document:
The method returns the requested type directly, or fails with
Err(_)
and appropriate message:document.read_string(path) -> Result<String, Error>
(for example)
- Updated the
error-chain
dependency from0.10
to0.11
.