Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bytecodealliance
GitHub Repository: bytecodealliance/wasmtime
Path: blob/main/crates/component-macro/Cargo.toml
1690 views
1
[package]
2
name = "wasmtime-internal-component-macro"
3
version.workspace = true
4
authors.workspace = true
5
description = "INTERNAL: Macros for deriving component interface types from Rust types"
6
license = "Apache-2.0 WITH LLVM-exception"
7
repository = "https://github.com/bytecodealliance/wasmtime"
8
documentation = "https://docs.rs/wasmtime-component-macro/"
9
categories = ["wasm"]
10
keywords = ["webassembly", "wasm"]
11
edition.workspace = true
12
rust-version.workspace = true
13
14
[lints]
15
workspace = true
16
17
[lib]
18
proc-macro = true
19
test = false
20
doctest = false
21
22
[dependencies]
23
anyhow = { workspace = true }
24
proc-macro2 = { workspace = true }
25
quote = { workspace = true }
26
syn = { workspace = true, features = ["extra-traits"] }
27
wasmtime-component-util = { workspace = true }
28
wasmtime-wit-bindgen = { workspace = true }
29
wit-parser = { workspace = true }
30
31
[dev-dependencies]
32
wasmtime = { path = '../wasmtime', features = ['component-model', 'component-model-async'] }
33
wasmtime-wit-bindgen = { workspace = true, features = ['component-model-async'] }
34
component-macro-test-helpers = { path = 'test-helpers' }
35
tracing = { workspace = true }
36
# For use with the custom attributes test
37
serde = { workspace = true, features = ["derive"] }
38
serde_json = { workspace = true }
39
prettyplease = "0.2.31"
40
similar = { workspace = true }
41
42
[features]
43
async = ['wasmtime-wit-bindgen/async']
44
component-model-async = ['async', 'wasmtime-wit-bindgen/component-model-async']
45
46