Skip to content

Aide requires raw identifiers to use with 2024 edition of rust #172

@polina4096

Description

@polina4096

Crate contains module named gen, which clashes with the new reserved keyword gen in 2024 edition of Rust. It forces to use a quite unsightly raw identifier to access items inside the module: r#gen. The 2024 edition is already stabilized and will be available on stable in the next update in February (1.85).

aide::r#gen::on_error(|error| {
  println!("{error}");
});

aide::r#gen::extract_schemas(true);

In my opinion it's best to rename the module.

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