Skip to content

Outdated toml_edit dependency causes failure during bootstrap #51

@korrat

Description

@korrat

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions