-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (42 loc) · 1.11 KB
/
Cargo.toml
File metadata and controls
46 lines (42 loc) · 1.11 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
[package]
name = "wasmtime-rb"
version = "9.0.4"
edition = "2021"
authors = ["The Wasmtime Project Developers"]
license = "Apache-2.0"
publish = false
build = "build.rs"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ruby_gte_3_0)'] }
[features]
default = ["tokio", "all-arch", "winch"]
embed = ["magnus/embed"]
tokio = ["dep:tokio", "dep:async-timer"]
all-arch = ["wasmtime/all-arch"]
ruby-api = []
winch = ["wasmtime/winch"]
[dependencies]
lazy_static = "1.5.0"
magnus = { version = "0.7", features = ["rb-sys"] }
rb-sys = { version = "*", default-features = false, features = [
"stable-api-compiled-fallback",
] }
wasmtime = { version = "=31.0.0", features = ["memory-protection-keys"] }
wasmtime-wasi = "=31.0.0"
wasi-common = "=31.0.0"
cap-std = "3.4.0"
wat = "1.232.0"
tokio = { version = "1.40.0", features = [
"rt",
"rt-multi-thread",
"time",
"net",
], optional = true }
async-timer = { version = "1.0.0-beta.15", features = [
"tokio1",
], optional = true }
static_assertions = "1.1.0"
wasmtime-environ = "=31.0.0"
deterministic-wasi-ctx = "=0.1.34"
[build-dependencies]
rb-sys-env = "0.2.2"