Open OlivierLDff opened 1 year ago
Hi @OlivierLDff
Are you aware of any other format distinction for the toml in Rust?
I've dealt with a similar issue when trying to implement the Python preset (https://github.com/frinyvonnick/gitmoji-changelog/pull/265). It might be worth it to reuse the deep search logic i've put in there to cover more cases that might arise if the format changes.
(For python, I simply do a top-down search of the expected key name and take the first values found. This is somewhat future proof but should require an explicit warning in the readme imo)
In rust package are either a top key of the cargo.toml are a workspace package, I never saw anything else and I'm not aware if something else exists
Any news?
This commit also introduce: