This commit is an attempt to reduce the number of crates necessary to link to when using `wasmtime::Config` in "default mode" or with only one or two tweaks. The change moves to a builder-style pattern for `Config` to only require importing crates as necessary if you configure a particular setting. This then also propagates that change to `Context` as well by taking a `Config` instead of requiring that all arguments are passed alone.
27 lines
698 B
TOML
27 lines
698 B
TOML
[package]
|
|
name = "wasmtime-rust"
|
|
version = "0.2.0"
|
|
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
|
description = "Rust extension for Wasmtime"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
categories = ["wasm", "rust"]
|
|
keywords = ["webassembly", "wasm"]
|
|
repository = "https://github.com/bytecodealliance/wasmtime"
|
|
readme = "README.md"
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
test = false
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
wasmtime-interface-types = { path = "../../interface-types" }
|
|
wasmtime-jit = { path = "../../jit" }
|
|
wasmtime-rust-macro = { path = "./macro" }
|
|
wasmtime-wasi = { path = "../../wasi" }
|
|
wasmtime = { path = "../../api" }
|
|
anyhow = "1.0.19"
|
|
|
|
[badges]
|
|
maintenance = { status = "actively-developed" }
|