split out ffi bindings into shenlong-sys crate

This commit is contained in:
Adrian Malacoda
2019-02-11 02:56:23 -06:00
parent 81a9db0b8d
commit ab0c19fcc2
9 changed files with 504 additions and 26 deletions

15
shenlong-sys/Cargo.toml Normal file
View File

@@ -0,0 +1,15 @@
[package]
name = "shenlong-sys"
version = "0.0.1"
authors = ["Adrian Malacoda <malacoda@monarch-pass.net>"]
build = "build.rs"
edition = "2018"
[dependencies]
log = "0.4.6"
env_logger = "0.6.0"
[build-dependencies]
cc = "1.0.28"
pkg-config = "0.3.14"
bindgen = "0.47.1"