From 9a5725fe55eb5e49cee09712364ac7b7dcefde51 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Thu, 23 Nov 2017 14:34:45 +0100 Subject: Add a foreign function interface. - For now, we keep the ffi in this crate, later on we may want to move it to sequoia-ffi. - Example code how to use the library from C is added as well. --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index e39e4914..d59a30e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,7 @@ version = "0.1.0" authors = ["Neal H. Walfield "] [dependencies] +libc = "0.2.33" nom = "3.2.0" num = "0.1.40" num-derive = "0.1.41" @@ -13,6 +14,7 @@ bzip2 = "0.3.2" [lib] name = "sequoia" path = "src/lib.rs" +crate-type = ["lib", "dylib"] [[bin]] doc = false -- cgit v1.2.3