cranko version 0.16.0 is using toml_edit v0.2.0, which does not handle nested keys yet:
use toml_edit::Document; // 0.2.0
const CARGO_EXCERPT: &str = r##"
[dependencies]
some-dep.workspace = true
"##;
fn main() {
let doc: Document = CARGO_EXCERPT.parse().unwrap();
dbg!(doc);
}
In my case, I can't bootstrap my project without expanding all the tables before using cranko. And I'm expecting (haven't tried or verified yet) that it would again cause issues in the future.
By updating toml_edit, this should be resolved. Running the above on the playground (with toml_edit version 0.22), the example compiles and runs flawlessly.