Commit 93541ddc authored by Ryan Hunt's avatar Ryan Hunt
Browse files

Update version to 0.1.5

parent 5884671b
[root]
name = "cbindgen"
version = "0.1.4"
version = "0.1.5"
dependencies = [
"clap 2.23.2 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
......
......@@ -2,7 +2,7 @@
name = "cbindgen"
description = "A tool for generating C bindings to Rust code."
license = "MPL-2.0"
version = "0.1.4"
version = "0.1.5"
authors = ["Jeff Muizelaar <jmuizelaar@mozilla.com>", "Kartikaya Gupta <kats@mozilla.com>", "Ryan Hunt <rhunt@eqrion.net>"]
repository = "https://github.com/rlhunt/cbindgen/"
exclude = ["examples/**"]
......
......@@ -28,12 +28,13 @@ extern crate cbindgen;
use cbindgen::{Config, Library};
fn main() {
let config = Config::default();
let config = Config::from_file("bindconf.json");
Library::load("../build-script", &config)
.generate().unwrap()
.write_to_file("bindings.h");
}
```
## Examples
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment