Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bytecodealliance
GitHub Repository: bytecodealliance/wasmtime
Path: blob/main/crates/c-api/artifact/Cargo.toml
1692 views
1
[package]
2
name = "wasmtime-c-api"
3
version.workspace = true
4
authors.workspace = true
5
description = "C API to expose the Wasmtime runtime"
6
license = "Apache-2.0 WITH LLVM-exception"
7
repository = "https://github.com/bytecodealliance/wasmtime"
8
readme = "README.md"
9
edition.workspace = true
10
rust-version.workspace = true
11
publish = false
12
13
[lib]
14
name = "wasmtime"
15
crate-type = ["staticlib", "cdylib"]
16
doc = false
17
test = false
18
doctest = false
19
20
[dependencies]
21
wasmtime-c-api = { path = '..', package = 'wasmtime-c-api-impl' }
22
23
[features]
24
# WASMTIME_FEATURE_LIST
25
default = [
26
'profiling',
27
'wat',
28
'wasi',
29
'cache',
30
'parallel-compilation',
31
'async',
32
'coredump',
33
'addr2line',
34
'demangle',
35
'threads',
36
'gc',
37
'gc-drc',
38
'gc-null',
39
'cranelift',
40
'winch',
41
'debug-builtins',
42
'pooling-allocator',
43
'component-model',
44
'pulley',
45
# 'all-arch', # intentionally off-by-default
46
# ... if you add a line above this be sure to change the other locations
47
# marked WASMTIME_FEATURE_LIST
48
]
49
async = ['wasmtime-c-api/async']
50
profiling = ["wasmtime-c-api/profiling"]
51
cache = ["wasmtime-c-api/cache"]
52
parallel-compilation = ['wasmtime-c-api/parallel-compilation']
53
wasi = ['wasmtime-c-api/wasi']
54
logging = ['wasmtime-c-api/logging']
55
disable-logging = ["wasmtime-c-api/disable-logging"]
56
coredump = ["wasmtime-c-api/coredump"]
57
addr2line = ["wasmtime-c-api/addr2line"]
58
demangle = ["wasmtime-c-api/demangle"]
59
wat = ["wasmtime-c-api/wat"]
60
threads = ["wasmtime-c-api/threads"]
61
gc = ["wasmtime-c-api/gc"]
62
gc-drc = ["wasmtime-c-api/gc-drc"]
63
gc-null = ["wasmtime-c-api/gc-null"]
64
cranelift = ["wasmtime-c-api/cranelift"]
65
winch = ["wasmtime-c-api/winch"]
66
debug-builtins = ["wasmtime-c-api/debug-builtins"]
67
pooling-allocator = ["wasmtime-c-api/pooling-allocator"]
68
component-model = ["wasmtime-c-api/component-model"]
69
pulley = ["wasmtime-c-api/pulley"]
70
all-arch = ["wasmtime-c-api/all-arch"]
71
# ... if you add a line above this be sure to read the comment at the end of
72
# `default`
73
74