[package]
name = "bayer"
version = "0.1.0"
authors = ["David Wang <millimillenary@gmail.com>"]

[dependencies]

[package]
name = "bayer"
version = "0.1.0"
authors = ["David Wang <millimillenary@gmail.com>"]

[lib]
name = "bayer"
crate-type = ["rlib", "dylib"]

[dependencies]

Build dynamic lib, so that we can call Rust from C.
Build dynamic lib, so that we can call Rust from C.

Functions exported to C should be:

    #[no_mangle]
    pub extern "C" fn ... {}
