-
Notifications
You must be signed in to change notification settings - Fork 4
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
Auto-generate main.zng #5
Comments
I added a very low effort implementation of a
It is broken in multiple ways, and you can use it just as a template. You need to fix these things for it to become usable:
The Please tell me if you hit any problems in using zngur, or have some ideas. My own project that triggered me to create zngur became fully Rust, so now there is no real project using it. But I still believe in zngur idea and would really like to see a real project use zngur, so I will help you if you hit any zngur related problem. |
Thanks! I actually did something similar 2 years ago: https://github.com/kraktus/cargo-extern-fn and got quite far using proc macros, but it was based on cxx which turned out to be too limited in terms of fondamental type support (not even Option), and seemingly no active development from the maintainers to add them or accept PRs. Will definitely check it out once I've more time. |
Hello, thanks for this promising project.
I’ve a rust crate https://github.com/kraktus/rs-retroboard-chess that has sparked the interest of cpp users. I’d like to make it available.
The good thing is that it mostly returns simple types or wrapper around it, however the api surface is still quite large to make a main.zng file manually. Is there a way to generate it from the rust code? Even imperfectly, as a way to save time.
The text was updated successfully, but these errors were encountered: