Skip to content

Add way to include OUT_DIR assets in Maturin builds #2804

@orlp

Description

@orlp

If you generate some Python file or other assets in build.rs there is (as far as I'm aware) currently no way to include this in a Maturin build through the OUT_DIR. Your only option is to either store it in the source directory so Maturin will pick it up, but Rust recommends against storing files in the source directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions