Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Coercions for Rust structs and Ruby hashes #162

Open
moosingin3space opened this issue Oct 23, 2018 · 2 comments
Open

Coercions for Rust structs and Ruby hashes #162

moosingin3space opened this issue Oct 23, 2018 · 2 comments
Assignees

Comments

@moosingin3space
Copy link

A common pattern in Ruby is to use a hash for temporary structured data. Manually implementing such coercions results in fairly mechanical, repetitive code that would be ideally produced by a proc-macro.

@moosingin3space
Copy link
Author

I have actually prototyped a simple proc-macro for generating these coercions. It's not in a suitable state for publishing yet, but I'd like to discuss approaches.

@wycats
Copy link
Contributor

wycats commented Jul 29, 2019

@moosingin3space are you still interested in this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants