Skip to content

Heads up on mashup crate #156

@softprops

Description

@softprops

I work on the lando crate, an extension of the crowbar crate which is a crate that uses your cpython bindings to generate dynamically linked rust bindings that can run on aws lambda. There's on implementation detail that's bubbled up through all three crates related to

/// 2. `py2_init`: "init" + $name. Necessary because macros can't use concat_idents!().

This bubbles up to crowbar and lando as an awkward interface for initializing python modules given the identifier trio. I've become very familiar with the concat_idents macro while looking at this problem space and discovered a potential solution in a crate called mashup. This crate allows you to dynamically generate idents on stable rust.

I have a working poc in my crate and brought this up with the crowbar folks

Since is kind of relevant for anything using the cpython crate I wanted to draw some attention here to get it on your radar.

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