Skip to content

Make RustEdition public #3012

Closed
Closed
@nikkon-dev

Description

@nikkon-dev

Current RustEdition is imported privately from the futures module, which makes it impossible to use form build.rs scripts like

let bindings = builder().rust_edition(RustEdition::Edition2024).generate();

The only option is to use rust_target, but its hidden logic for selecting the edition is not documented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions