This removes toml as a public dependency. This reduces the exposure of the public API, reduces exposure of internal implementation, and makes it easier to make semver-incompatible changes to toml. This is accomplished through a variety of changes: - `get` and `get_mut` are removed. - `get_deserialized_opt` is renamed to `get`. - Dropped the AsRef for `get_deserialized_opt` for ergonomics, since using an `&` for a String is not too much to ask, and the other generic arg needs to be specified in a fair number of situations. - Removed deprecated `get_deserialized`. - Dropped `TomlExt` from the public API. - Removed `get_renderer` and `get_preprocessor` since they were trivial wrappers over `get`. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||
mdbook-core
This is the base support library for mdBook. It is intended for internal use only. Other mdBook crates depend on this for any types that are shared across the crates.
This crate is maintained by the mdBook team, primarily for use by mdBook and not intended for external use (except as a transitive dependency). This crate may make major changes to its APIs or be deprecated without warning.