Yamakaky/rust-bindgen
View on GitHub ↗ ★ 1 Rust
THIS CRATE IS DEPRECATED, please use https://github.com/servo/rust-bindgen.
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2016-08-29 · latest 2016-12-28
20082026
-
…header.h file without having to hand-recode it to Rust? You can use something like rust-bindgen ( https://github.com/Yamakaky/rust-bindgen ) which will work with a minimal amount of cleanup afterwards in my experience. Still not a…
comment by dikaiosune · 2016-12-28 · in Rust is more than safety -
It looks like the first part of what you want is nearly there - see https://github.com/Yamakaky/rust-bindgen It converts C headers to a Rust module containing the relevant type/function/etc. definitions. On stable you need to either…
comment by psi-squared · 2016-12-28 · in Rust vs C Pitfalls -
…for you. It's not perfect, but rust-bindgen was pretty good last time I tried it (~15 months ago): https://github.com/Yamakaky/rust-bindgen
comment by tomjakubowski · 2016-08-29 · in Zig: a system language which prioritizes optimality, safety, and readability