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

View File

@@ -2,18 +2,19 @@
name = "shenlong"
version = "0.0.1"
authors = ["Adrian Malacoda <malacoda@monarch-pass.net>"]
build = "build.rs"
#build = "build.rs"
edition = "2018"
[dependencies]
log = "0.4.6"
env_logger = "0.6.0"
shenlong-sys = { path = "shenlong-sys", version = "0.0.1" }
c_str_macro = "1.0.2"
[build-dependencies]
cc = "1.0.28"
pkg-config = "0.3.14"
bindgen = "0.47.1"
#[build-dependencies]
#cc = "1.0.28"
#pkg-config = "0.3.14"
#bindgen = "0.47.1"
[lib]
crate-type = ["cdylib"]