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

Remote derive like in serde #131

Open
Lupus opened this issue May 10, 2023 · 0 comments
Open

Remote derive like in serde #131

Lupus opened this issue May 10, 2023 · 0 comments

Comments

@Lupus
Copy link

Lupus commented May 10, 2023

Serde allows [1] to sensibly add derived to a struct from other crate by checking that local copy matches the upstream one. Probably makes sense to add similar feature to ocaml-rs, otherwise exporting some enums and structs from Rust libraries is a tedious process.

[1] https://serde.rs/remote-derive.html

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

1 participant