feat: reorg code, and prepare for c bindings

This commit is contained in:
dignifiedquire
2019-04-27 21:48:22 +03:00
parent 731d7392bd
commit 956609f565
13 changed files with 340 additions and 180 deletions

21
deltachat-ffi/Cargo.toml Normal file
View File

@@ -0,0 +1,21 @@
[package]
name = "deltachat_ffi"
version = "0.1.0"
description = "Deltachat FFI"
authors = ["dignifiedquire <dignifiedquire@gmail.com>"]
edition = "2018"
readme = "README.md"
license = "MIT OR Apache-2.0"
keywords = ["deltachat", "chat", "openpgp", "email", "encryption"]
categories = ["cryptography", "std", "email"]
[lib]
crate-type = ["cdylib", "staticlib"]
[dependencies]
deltachat = { path = "../" }
libc = "0.2"
[build-dependencies]
cbindgen = "0.8"