-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathCargo.toml
More file actions
72 lines (65 loc) · 2.55 KB
/
Cargo.toml
File metadata and controls
72 lines (65 loc) · 2.55 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[package]
name = "wasmtime-c-api-impl"
version.workspace = true
authors.workspace = true
description = "C API to expose the Wasmtime runtime"
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wasmtime"
readme = "README.md"
edition.workspace = true
rust-version.workspace = true
links = "wasmtime-c-api"
include = ["include", "src", "build.rs", "CMakeLists.txt", "cmake", "doxygen.conf.in"]
[lints]
workspace = true
[lib]
name = "wasmtime_c_api"
test = false
doctest = false
[dependencies]
env_logger = { workspace = true, optional = true }
wasmtime = { workspace = true, features = ['runtime', 'std'] }
wasmtime-c-api-macros = { workspace = true }
log = { workspace = true }
tracing = { workspace = true }
# Optional dependency for the `wat2wasm` API
wat = { workspace = true, optional = true }
# Optional dependencies for the `wasi` feature
cap-std = { workspace = true, optional = true }
tokio = { workspace = true, optional = true, features = ["fs"] }
wasmtime-wasi = { workspace = true, optional = true, features = ["p1"] }
wasmtime-wasi-http = { workspace = true, optional = true, features = ["p2", "default-send-request"] }
wasmtime-wasi-io = { workspace = true, optional = true, features = ["std"] }
async-trait = { workspace = true, optional = true }
bytes = { workspace = true, optional = true }
# Optional dependencies for the `async` feature
futures = { workspace = true, optional = true }
[features]
# WASMTIME_FEATURE_LIST
async = ['wasmtime/async', 'futures']
profiling = ["wasmtime/profiling"]
cache = ["wasmtime/cache"]
parallel-compilation = ['wasmtime/parallel-compilation']
wasi = ['cap-std', 'wasmtime-wasi', 'wasmtime-wasi-io', 'tokio', 'async-trait', 'bytes']
wasi-http = ['wasi', 'wasmtime-wasi-http']
logging = ['dep:env_logger']
disable-logging = ["log/max_level_off", "tracing/max_level_off"]
coredump = ["wasmtime/coredump"]
addr2line = ["wasmtime/addr2line"]
demangle = ["wasmtime/demangle"]
threads = ["wasmtime/threads"]
gc = ["wasmtime/gc"]
gc-drc = ["wasmtime/gc-drc"]
gc-null = ["wasmtime/gc-null"]
gc-copying = ["wasmtime/gc-copying"]
cranelift = ['wasmtime/cranelift']
winch = ['wasmtime/winch']
debug-builtins = ['wasmtime/debug-builtins']
wat = ['dep:wat', 'wasmtime/wat']
pooling-allocator = ["wasmtime/pooling-allocator"]
component-model = ["wasmtime/component-model"]
component-model-async = ["component-model", "async", "wasmtime/component-model-async"]
pulley = ["wasmtime/pulley"]
all-arch = ["wasmtime/all-arch"]
# ... if you add a line above this be sure to change the other locations
# marked WASMTIME_FEATURE_LIST