tag | 08e18980421773660f5cf0bac072cf77e3b574aa | |
---|---|---|
tagger | Emilio Cobos Álvarez <emilio@crisal.io> | Sat Oct 28 15:26:03 2017 +0200 |
object | fefbbb56ec78950275ff6a1a714efcaa48bf9e8c |
v0.31.1
commit | fefbbb56ec78950275ff6a1a714efcaa48bf9e8c | [log] [tgz] |
---|---|---|
author | Emilio Cobos Álvarez <emilio@crisal.io> | Sat Oct 28 14:55:26 2017 +0200 |
committer | Emilio Cobos Álvarez <emilio@crisal.io> | Sat Oct 28 14:55:26 2017 +0200 |
tree | d40a976d7571d81e9b6554cff0e2a423282f78c9 | |
parent | c7f0fab3782217610f44ae2f32526ab8c330e8b2 [diff] |
Minor version bump. Only bugfixes have landed since the last release (#1112 and #1114), apart from doc fixes.
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