Prepare wasmtime-environ for publishing.

This commit is contained in:
Dan Gohman
2018-08-03 15:33:15 -07:00
parent bba733b7a1
commit a1b4c865d1
3 changed files with 54 additions and 2 deletions

View File

@@ -2,12 +2,17 @@
name = "wasmtime-environ"
version = "0.0.0"
authors = ["The Cranelift Project Developers"]
publish = false
description = "Standalone environment support for WebAsssembly code in Cranelift"
repository = "https://github.com/sunfishcode/wasmtime"
repository = "https://github.com/CraneStation/wasmtime"
documentation = "https://docs.rs/wasmtime-environ/"
license = "Apache-2.0 WITH LLVM-exception"
readme = "README.md"
[dependencies]
cranelift-codegen = "0.18.1"
cranelift-wasm = "0.18.1"
target-lexicon = "0.0.3"
[badges]
maintenance = { status = "experimental" }
travis-ci = { repository = "CraneStation/wasmtime" }

5
lib/environ/README.md Normal file
View File

@@ -0,0 +1,5 @@
This is the `wasmtime-environ` crate, which contains the implementations
of the `ModuleEnvironment` and `FuncEnvironment` traits from
[`cranelift-wasm`](https://crates.io/crates/cranelift-wasm). They effectively
implement an ABI for basic wasm compilation, which can be used for JITing,
native object files, or other purposes.