Extract common interface from lucet-wasi

This commit is contained in:
Jakub Konka
2019-05-04 14:28:22 +02:00
commit cd39c1dfd8
13 changed files with 4574 additions and 0 deletions

22
Cargo.toml Normal file
View File

@@ -0,0 +1,22 @@
[package]
name = "wasi-common"
version = "0.1.0"
authors = ["Adam C. Foltzer <acfoltzer@fastly.com>", "Jakub Konka <kubkon@jakubkonka.com>"]
edition = "2018"
license = "Apache-2.0 WITH LLVM-exception"
[dependencies]
cast = "0.2"
clap = "2.23"
failure = "0.1"
human-size = "0.4"
libc = "0.2"
nix = "0.13"
rand = "0.6"
[build-dependencies]
bindgen = "0.49.0"
[lib]
name = "wasi_common"
crate-type = ["rlib", "staticlib", "cdylib"]