-
Notifications
You must be signed in to change notification settings - Fork 129
Closed as not planned
Labels
A-editArea: TOML editing APIArea: TOML editing APIA-parseArea: Parsing TOMLArea: Parsing TOMLC-enhancementCategory: Raise on the bar on expectationsCategory: Raise on the bar on expectations
Description
This would
- Reduce allocations for
toml_edit::Document
- Allow easier editing as users can make changes and the formatting "auto-adapts" (see fix(remove): Preserve feature comments rust-lang/cargo#12837)
This comes at the cost of
- Making it harder for callers to inspect the actual decor
- Some callers may not want to auto-adapt
These could be worked around by offering a way to force allocations for "default" decor.
Metadata
Metadata
Assignees
Labels
A-editArea: TOML editing APIArea: TOML editing APIA-parseArea: Parsing TOMLArea: Parsing TOMLC-enhancementCategory: Raise on the bar on expectationsCategory: Raise on the bar on expectations