-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
73 lines (63 loc) · 1.84 KB
/
Cargo.toml
File metadata and controls
73 lines (63 loc) · 1.84 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
[workspace]
members = ["crates/core", "crates/runtime", "napi"]
default-members = [".", "napi"]
resolver = "2"
[workspace.package]
version = "0.2.1"
edition = "2024"
rust-version = "1.94"
license = "Apache-2.0"
repository = "https://github.com/andreiltd/componentize-qjs"
homepage = "https://github.com/andreiltd/componentize-qjs"
[workspace.dependencies]
componentize-qjs = { path = "crates/core", version = "0.2.1", default-features = false }
componentize-qjs-cli = { path = ".", version = "0.2.1", default-features = false }
anyhow = "1.0"
clap = { version = "4", features = ["derive"] }
tokio = { version = "1", default-features = false, features = ["rt", "macros"] }
wasmtime = { version = "44", features = ["component-model", "async"] }
wasmtime-wasi = { version = "44", features = ["p3"] }
wit-parser = "0.248"
[package]
name = "componentize-qjs-cli"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "CLI for converting JavaScript to WebAssembly components using QuickJS"
license.workspace = true
repository.workspace = true
homepage.workspace = true
readme = "README.md"
[lib]
name = "componentize_qjs_cli"
path = "src/lib.rs"
[[bin]]
name = "componentize-qjs"
path = "src/main.rs"
doc = false
[dependencies]
componentize-qjs.workspace = true
anyhow.workspace = true
clap.workspace = true
tokio.workspace = true
oxc_minifier = "0.129.0"
oxc_allocator = "0.129.0"
oxc_codegen = "0.129.0"
oxc_parser = "0.129.0"
oxc_span = "0.129.0"
[features]
default = ["component-model-async"]
opt-size = ["componentize-qjs/opt-size"]
component-model-async = ["componentize-qjs/component-model-async"]
[dev-dependencies]
assert_cmd = "2.0"
predicates = "3.1"
quickcheck = "1"
tempfile = "3.13"
wasmtime.workspace = true
wasmtime-wasi.workspace = true
wit-parser.workspace = true
[profile.release]
lto = true
[profile.test]
opt-level = 3