toml v0.5 compat package / basic-toml package cleanup #19

Open
opened 2026-03-15 17:31:42 +00:00 by decathorpe · 1 comment
Owner

The last release of toml v0.5 is over 4 years old. Both v0.6 and v0.9 were complete rewrites, though the high-level APIs stayed (mostly) backwards compatible. The basic-toml crate was a stripped down fork of toml v0.5, which then was in turn abandoned when toml v0.9 addressed shortcomings of the first complete rewrite.

Dependent packages (toml v0.5):

  • rust-cbindgen0.24
  • rust-cbindgen0.26
  • rust-choosier
  • rust-config0.13
  • rust-config-file
  • rust-confy
  • rust-cursive_core0.3
  • rust-find-crate
  • rust-sequoia-policy-config

The new writer implementations also depend on toml v0.5 to verify backwards compatibility with old versions of cargo that used toml v0.5 to parse Cargo.toml - not sure how to handle this (tests could be disabled or patched out):

  • rust-toml_write
  • rust-toml_writer

Dependent packages (basic-toml):

  • rust-askama_derive
  • rust-i18n-config
  • rust-trybuild2
The last release of toml v0.5 is over 4 years old. Both v0.6 and v0.9 were complete rewrites, though the high-level APIs stayed (mostly) backwards compatible. The `basic-toml` crate was a stripped down fork of toml v0.5, which then was in turn abandoned when toml v0.9 addressed shortcomings of the first complete rewrite. Dependent packages (toml v0.5): - [ ] rust-cbindgen0.24 - [ ] rust-cbindgen0.26 - [ ] rust-choosier - [ ] rust-config0.13 - [ ] rust-config-file - [ ] rust-confy - [ ] rust-cursive_core0.3 - [ ] rust-find-crate - [x] rust-sequoia-policy-config The new writer implementations also depend on toml v0.5 to verify backwards compatibility with old versions of cargo that used toml v0.5 to parse `Cargo.toml` - not sure how to handle this (tests could be disabled or patched out): - [ ] rust-toml_write - [ ] rust-toml_writer Dependent packages (basic-toml): - [ ] rust-askama_derive - [ ] rust-i18n-config - [ ] rust-trybuild2
Author
Owner

basic-toml is now officially marked "unmaintained": https://rustsec.org/advisories/RUSTSEC-2026-0374.html

basic-toml is now officially marked "unmaintained": <https://rustsec.org/advisories/RUSTSEC-2026-0374.html>
Sign in to join this conversation.
No description provided.