Files
craft-libs/crates
dotCooCoo 4e349df893 craft-settings: read config.toml up to a 16 MiB limit
SettingsStore read config.toml with read_to_string at open, in the
read-only fallback and before every save, so a file of any size was
read into memory whole before parsing.

The store now reads at most store::MAX_CONFIG_BYTES. A larger file is
left untouched: the store opens read-only with Unreadable carrying
ErrorKind::FileTooLarge, and a file that grows past the limit while the
app runs makes the save return SettingsError::ReadOnly.
2026-11-20 10:43:56 -08:00
..
…
…
…
…
…
2026-11-14 17:49:47 +01:00
…
2026-11-13 01:31:26 -05:00
…
…
…
…
…
…
…