Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heads up on mashup crate #156

Closed
softprops opened this issue Oct 6, 2018 · 1 comment
Closed

Heads up on mashup crate #156

softprops opened this issue Oct 6, 2018 · 1 comment

Comments

@softprops
Copy link
Contributor

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.

@markbt
Copy link
Collaborator

markbt commented Feb 4, 2020

Mashup was succeeded by paste, which I've used in #204. Thanks!

@markbt markbt closed this as completed Feb 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants