File: Cargo.toml

package info (click to toggle)
rust-wasmtime 26.0.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 48,492 kB
  • sloc: ansic: 4,003; sh: 561; javascript: 542; cpp: 254; asm: 175; ml: 96; makefile: 55
file content (43 lines) | stat: -rw-r--r-- 1,190 bytes parent folder | download
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
[package]
name = "wasmtime-component-macro"
version.workspace = true
authors.workspace = true
description = "Macros for deriving component interface types from Rust types"
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wasmtime"
documentation = "https://docs.rs/wasmtime-component-macro/"
categories = ["wasm"]
keywords = ["webassembly", "wasm"]
edition.workspace = true
rust-version.workspace = true

[lints]
workspace = true

[lib]
proc-macro = true
test = false
doctest = false

[dependencies]
anyhow = "1.0"
proc-macro2 = "1.0"
quote = "1.0"
syn = { workspace = true, features = ["extra-traits"] }
wasmtime-component-util = { workspace = true }
wasmtime-wit-bindgen = { workspace = true }
wit-parser = { workspace = true }

[dev-dependencies]
wasmtime = { path = '../wasmtime', features = ['component-model'] }
component-macro-test-helpers = { path = 'test-helpers' }
tracing = { workspace = true }
# For use with the custom attributes test
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
prettyplease = "0.2.19"
similar = { workspace = true }

[features]
async = []
std = ['wasmtime-wit-bindgen/std']