-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
48 lines (41 loc) · 1.42 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
[workspace]
members = ["crates/wamr-sys"]
exclude = [
"examples/wasi-hello",
"resources/test/gcd",
"resources/test/add-extra",
".devcontainer",
".github",
]
resolver = "2"
[workspace.package]
edition = "2021"
license = "Apache-2.0 WITH LLVM-exception"
authors = ["The WAMR Project Developers"]
[package]
name = "wamr-rust-sdk"
description = "The Rust SDK of WAMR"
license.workspace = true
edition.workspace = true
repository = "https://github.com/bytecodealliance/wamr-rust-sdk"
version = "1.0.0"
readme = "README.md"
categories = ["api-bindings", "wasm"]
keywords = ["api-bindings", "wasm", "webassembly"]
[dependencies]
wamr-sys = { path = "crates/wamr-sys", version = "1.0.0" }
[target.'cfg( target_os = "espidf" )'.dependencies]
esp-idf-sys = { version = "0.35", optional = true }
[[package.metadata.esp-idf-sys.extra_components]]
bindings_header = "./crates/wamr-sys/wasm-micro-runtime/core/iwasm/include/wasm_export.h"
component_dirs = ["./crates/wamr-sys/wasm-micro-runtime/build-scripts/esp-idf"]
[features]
custom-section = ["wamr-sys/custom-section"]
dump-call-stack = ["wamr-sys/dump-call-stack"]
esp-idf = ["esp-idf-sys", "wamr-sys/esp-idf"]
hw-bound-check = ["wamr-sys/hw-bound-check"]
llvmjit = ["wamr-sys/llvmjit"]
multi-module = ["wamr-sys/multi-module"]
name-section = ["wamr-sys/name-section"]