forked from WebAssembly/wasi-http
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
87 lines (80 loc) · 3.27 KB
/
Cargo.toml
File metadata and controls
87 lines (80 loc) · 3.27 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[package]
name = "wrpc-interface-http"
version = "0.34.0"
description = "wRPC HTTP interface"
authors.workspace = true
categories.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
[workspace.package]
authors = ["Roman Volosatovs <rvolosatovs@riseup.net>"]
categories = ["wasm"]
edition = "2021"
homepage = "https://github.com/wrpc/http"
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/wrpc/http"
[workspace]
members = ["examples/rust/*"]
[features]
http = ["dep:http"]
http-body = ["http", "dep:http-body", "dep:http-body-util", "dep:tokio-stream"]
hyper = ["http-body", "dep:hyper"]
wasmtime-wasi-http = ["http-body", "dep:wasmtime-wasi-http"]
[dependencies]
anyhow = { workspace = true, features = ["std"] }
bytes = { workspace = true }
futures = { workspace = true }
http = { workspace = true, optional = true }
http-body = { workspace = true, optional = true }
http-body-util = { workspace = true, optional = true }
hyper = { workspace = true, optional = true }
tokio = { workspace = true }
tokio-stream = { workspace = true, optional = true }
tracing = { workspace = true, features = ["attributes"] }
wasmtime-wasi-http = { workspace = true, optional = true }
wit-bindgen-wrpc = { workspace = true }
wrpc-transport = { workspace = true }
[dev-dependencies]
async-nats = { workspace = true, features = ["ring"] }
hyper = { workspace = true }
hyper-util = { workspace = true, features = ["client", "server-auto", "tokio"] }
tokio = { workspace = true, features = [
"macros",
"process",
"rt-multi-thread",
] }
wrpc-cli = { workspace = true, features = ["nats"] }
wrpc-interface-http = { workspace = true, features = [
"http",
"http-body",
"hyper",
"wasmtime-wasi-http",
] }
wrpc-transport-nats = { workspace = true }
[workspace.dependencies]
anyhow = { version = "1", default-features = false }
async-nats = { version = "0.44", default-features = false }
bytes = { version = "1", default-features = false }
clap = { version = "4", default-features = false }
futures = { version = "0.3", default-features = false }
http = { version = "1", default-features = false }
http-body = { version = "1", default-features = false }
http-body-util = { version = "0.1.2", default-features = false }
hyper = { version = "1", default-features = false }
hyper-rustls = { version = "0.27", default-features = false }
hyper-util = { version = "0.1", default-features = false }
reqwest = { version = "0.11", default-features = false }
rustls = { version = "0.23", default-features = false }
rustls-native-certs = { version = "0.7", default-features = false }
tokio = { version = "1.41", default-features = false }
tokio-stream = { version = "0.1", default-features = false }
tracing = { version = "0.1", default-features = false }
tracing-subscriber = { version = "0.3", default-features = false }
wasmtime-wasi-http = { version = "38", default-features = false }
webpki-roots = { version = "0.26", default-features = false }
wit-bindgen-wrpc = { version = "0.10", default-features = false }
wrpc-cli = { version = "0.7", default-features = false }
wrpc-interface-http = { version = "0", path = ".", default-features = false }
wrpc-transport = { version = "0.28.3", default-features = false }
wrpc-transport-nats = { version = "0.30", default-features = false }