tag | 9cb7b5b3922fcd907dbf31aadf100460c0e07c3e | |
---|---|---|
tagger | Emilio Cobos Álvarez <emilio@crisal.io> | Mon Oct 30 12:56:47 2017 +0100 |
object | 4c975aa18f6ae4147a146ae7f9c25ac6a2ae14b0 |
v0.31.2
commit | 4c975aa18f6ae4147a146ae7f9c25ac6a2ae14b0 | [log] [tgz] |
---|---|---|
author | Emilio Cobos Álvarez <emilio@crisal.io> | Mon Oct 30 11:49:29 2017 +0100 |
committer | Emilio Cobos Álvarez <emilio@crisal.io> | Mon Oct 30 12:04:16 2017 +0100 |
tree | 910b521e1359d2771a28209fc5cbcf3a5a83e996 | |
parent | 842ba8b6b2e3d28b113887d41eaf4918a26c2e7f [diff] |
Minor version bump.
bindgen
impl period
has been started! Join us at Gitter.im.
bindgen
automatically generates Rust FFI bindings to C and C++ libraries.
For example, given the C header doggo.h
:
typedef struct Doggo { int many; char wow; } Doggo; void eleven_out_of_ten_majestic_af(Doggo* pupper);
bindgen
produces Rust FFI code allowing you to call into the doggo
library's functions and use its types:
/* automatically generated by rust-bindgen */ #[repr(C)] pub struct Doggo { pub many: ::std::os::raw::c_int, pub wow: ::std::os::raw::c_char, } extern "C" { pub fn eleven_out_of_ten_majestic_af(pupper: *mut Doggo); }
📚 Read the bindgen
users guide here! 📚
API reference documentation is on docs.rs