-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
83 lines (77 loc) · 2.08 KB
/
Cargo.toml
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
[package]
name = "wark"
description = "WebAssembly RunKit."
version = "0.3.0"
keywords = ["wasm", "wasm-oj"]
categories = ["command-line-utilities"]
readme = "README.md"
license = "MIT"
homepage = "https://github.com/wasm-oj/wark"
repository = "https://github.com/wasm-oj/wark"
edition = "2024"
build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "wark"
path = "src/main.rs"
required-features = ["cli"]
[lib]
name = "wark"
path = "src/lib.rs"
crate-type = ["cdylib", "rlib"]
[features]
default = []
cli = [
"rocket",
"reqwest",
"reqwest-middleware",
"http-cache-reqwest",
"async-compression",
"async-trait",
"jsonwebtoken",
"clap",
"base64",
]
[dependencies]
getrandom = { version = "0.2.14", features = ["custom"] }
serde = "1.0.218"
serde_json = "1.0.139"
tokio = { version = "1.43.0", default-features = false, features = [
"macros",
"rt",
"rt-multi-thread",
] }
wasmer = { version = "5.0.4", default-features = true }
wasmer-wasix = { version = "0.34.0", default-features = true }
wasmer-types = { version = "5.0.4" }
sha256 = { version = "1.5.0" }
tracing = { version = "0.1.41" }
tracing-subscriber = { version = "0.3.19" }
async-compression = { version = "0.4.0", features = [
"tokio",
"gzip",
], optional = true }
async-trait = { version = "0.1.68", optional = true }
clap = { version = "4.2.7", features = ["derive", "string"], optional = true }
http-cache-reqwest = { version = "0.9.0", features = [
"manager-cacache",
"manager-moka",
], optional = true }
jsonwebtoken = { version = "8.3.0", optional = true }
reqwest = { version = "0.11.18", default-features = false, features = [
"rustls",
"tokio-rustls",
"json",
], optional = true }
reqwest-middleware = { version = "0.2.2", optional = true }
rocket = { version = "0.5.0-rc.3", features = ["json"], optional = true }
base64 = { version = "0.22.1", optional = true }
[build-dependencies]
vergen = { version = "8.1.3", features = [
"build",
"cargo",
"git",
"gitcl",
"rustc",
"si",
] }