Skip to content

Suggestion: Add release submodule for import_hook #16

@davystrong

Description

@davystrong

I would like a better way of requesting release builds of Rust code directly within Python. I know I can import rustimport.settings, then set compile_release_binaries to True, and import rustimport.import_hook, but that's annoying. Could a new submodule be added so that I can simply run import rustimport.release.import_hook and it would set compile_release_binaries for me? I can write the PR and change add it to the README if you agree, but I realise this may be somewhat unorthodox.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions