-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Consider switching back from toml_edit to basic-toml #37
Comments
@djc would you be open to provide a pr? |
I can certainly take a look at it if you're open to the idea! |
Ahh, I forgot that this was not so straightforward. How would you feel about including a minimal, no-dependency parser for the subset of TOML that the crate needs? |
Sounds also possible. I mean you are right that we don't need that much functionality. |
This disables a lot of the serializer code that this crate does not need. While this does not completely address bkchr#37, it does reduce the cold compile-time slightly (on my high-end machine): 0.6 seconds.
Somewhat related: You currently cannot use [dependencies]
borsh = {version="*", features = ["derive"]}
indexmap = { version = "2.6.0", features =["borsh"]}
|
So I got totally nerd-snipped by this and I wrote a TOML parsing library with minimum dependencies. Most importantly, it does not depend on I'm currently porting the code and will provide a PR soon. I hope it's welcomed. :) |
`tomling` crate was specifically created to provide a minimalistic TOML parser with fewer dependencies and focus on Cargo.toml parsing. Fixes bkchr#37.
`tomling` crate was specifically created to provide a simple TOML parser with fewer dependencies and focus on Cargo.toml parsing. Fixes bkchr#37.
`tomling` crate was specifically created to provide a simple TOML parser with fewer dependencies and focus on Cargo.toml parsing. Fixes bkchr#37.
`tomling` crate was specifically created to provide a simple TOML parser with fewer dependencies and focus on Cargo.toml parsing. Fixes bkchr#37.
`tomling` crate was specifically created to provide a simple TOML parser with fewer dependencies and focus on Cargo.toml parsing. Fixes bkchr#37.
toml_edit has relatively heavy dependencies, and, in particular, is more aggressive about MSRV bumps.
The text was updated successfully, but these errors were encountered: