-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
39 lines (30 loc) · 852 Bytes
/
Cargo.toml
File metadata and controls
39 lines (30 loc) · 852 Bytes
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
[package]
name = "pack"
version = "0.1.0"
edition = "2021"
description = "A package runtime with extended WIT support for recursive types"
[[bin]]
name = "pack"
path = "src/main.rs"
[[bin]]
name = "pact"
path = "src/bin/pact.rs"
[dependencies]
# CLI
clap = { version = "4.0", features = ["derive"] }
# WASM execution with async support
wasmtime = "27"
# Serialization for recursive types
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" # For debugging, can add binary format later
# Error handling
thiserror = "1.0"
anyhow = "1.0"
# Static composition - parse and emit WASM modules
wasmparser = "0.219"
wasm-encoder = "0.219"
# Hashing for interface compatibility
sha2 = "0.10"
[dev-dependencies]
wat = "1.0" # For writing test modules in WAT
tokio = { version = "1.0", features = ["rt", "macros"] } # For async tests