Skip to content

feat: support toml 1.1#213

Merged
SuperCuber merged 1 commit into
SuperCuber:masterfrom
JP-Ellis:feat/support-toml-1.1
Apr 21, 2026
Merged

feat: support toml 1.1#213
SuperCuber merged 1 commit into
SuperCuber:masterfrom
JP-Ellis:feat/support-toml-1.1

Conversation

@JP-Ellis

Copy link
Copy Markdown
Contributor

Upgrade the toml crate to v1 which adds support for TOML 1.1. This now allows for newlines to be added to inline tables.

Fixes: #212

Upgrade the `toml` crate to v1 which adds support for TOML 1.1. This now
allows for newlines to be added to inline tables.

Fixes: SuperCuber#212
Signed-off-by: JP-Ellis <josh@jpellis.me>
@SuperCuber

SuperCuber commented Apr 21, 2026

Copy link
Copy Markdown
Owner

Thank you for the contribution! Please set toml = "1.*" to follow pattern set by the rest of the dependencies.
Edit: actually it's inconsistent and doesn't matter much. disregard :)

@SuperCuber SuperCuber merged commit b589d2a into SuperCuber:master Apr 21, 2026
9 checks passed
@JP-Ellis JP-Ellis deleted the feat/support-toml-1.1 branch April 21, 2026 11:22
@JP-Ellis

Copy link
Copy Markdown
Contributor Author

I was about to make the change for consistency, but it is also equivalent:

https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#default-requirements

1.2.3  :=  >=1.2.3, <2.0.0
1.2    :=  >=1.2.0, <2.0.0
1      :=  >=1.0.0, <2.0.0
0.2.3  :=  >=0.2.3, <0.3.0
0.2    :=  >=0.2.0, <0.3.0
0.0.3  :=  >=0.0.3, <0.0.4
0.0    :=  >=0.0.0, <0.1.0
0      :=  >=0.0.0, <1.0.0

Thanks for the prompt approval and merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Support TOML 1.1

2 participants