-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
36 lines (28 loc) · 925 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[package]
name = "wasm-embedded-spec"
description = "Embedded WASM WITX specification"
repository = "https://github.com/embedded-wasm/spec"
authors = [
"Ryan Kurte <ryan@kurte.nz>"
]
license = "MPL-2.0"
version = "0.4.0"
edition = "2021"
# Links argument required to pass variables to dependencies
links = "embedded-wasm-spec"
[features]
std = []
bind_c = [ "bindgen" ]
bind_rs = [ "wiggle", "wasmtime", "std" ]
wiggle = [ "dep:wiggle", "anyhow" ]
wasmtime = [ "dep:wasmtime" ]
default = [ "std", "bind_c", "bind_rs" ]
[dependencies]
cty = "0.2.2"
embedded-hal = "1.0.0-alpha.8"
log = { version = "0.4.14", default_features = false }
anyhow = { version = "*", optional = true }
wiggle = { version = "5.0.0", optional = true }
wasmtime = { version = "5.0.0", optional = true }
[build-dependencies]
bindgen = {version = "0.64.0", default_features = false, features = [ "runtime", "which-rustfmt" ], optional = true }