Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (54 loc) · 2.19 KB
/
Copy pathCargo.toml
File metadata and controls
55 lines (54 loc) · 2.19 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
[workspace]
resolver = "2"
members = [
"rust/guest-provider",
"rust/wasmtime",
"conformance/server",
"conformance/guest-ct",
"conformance/driver-ct",
"examples/echo-demo",
"examples/wasmtime-demo",
]
# The native (host-target) crates: bare `cargo clippy` / `cargo test` cover
# exactly this set. The wasm-only crates (conformance/guest-ct, echo-demo)
# build for their wasm targets through the justfile recipes.
default-members = [
"rust/guest-provider",
"rust/wasmtime",
"conformance/server",
"conformance/driver-ct",
"examples/wasmtime-demo",
]
[workspace.dependencies]
# The component-test harness: the crates pinned by git rev, the JS
# runner core from JSR (@jsr/polymorph__test, npm.jsr.io per-tree
# .npmrc). Both sides of a bump name ONE polymorph-test release:
# `component-test pins bump <rev> --cargo-toml Cargo.toml --workflow
# .github/workflows/ci.yml` with the release-tag commit, `cargo update
# -p component-test-sdk -p component-test-runner`, then set the
# matching release version on the `@jsr/polymorph__test` dependency in
# conformance/driver-ct/polyengine/package.json and `pnpm --dir
# conformance/driver-ct/polyengine install` — the cargo pins gate, the
# runner-js pin gate, and the CI ref guard fail on skew.
component-test-sdk = { git = "https://github.com/polymorph-components/polymorph-test", rev = "3631d4a1eedfb40d0ad24c68ac5b22ec8ed8d935" }
component-test-runner = { git = "https://github.com/polymorph-components/polymorph-test", rev = "3631d4a1eedfb40d0ad24c68ac5b22ec8ed8d935" }
anyhow = "1"
bytes = "1"
futures = "0.3"
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }
rustls-native-certs = "0.8"
rustls-pemfile = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = "1"
tokio-rustls = { version = "0.26", default-features = false, features = ["ring"] }
tokio-tungstenite = { version = "0.28", features = ["rustls-tls-native-roots"] }
tungstenite = { version = "0.28", default-features = false, features = ["handshake"] }
toml = "0.8"
wasmtime = { version = "48", features = [
"component-model",
"component-model-async",
"async",
"runtime",
] }
wit-bindgen = "0.59"