feat: copied from github.com/seddonm1/quickjs

This commit is contained in:
2023-02-01 00:08:34 +08:00
parent 03d006025f
commit 78db15fc04
16 changed files with 5112 additions and 2 deletions

20
crates/quickjs/Cargo.toml Normal file
View File

@@ -0,0 +1,20 @@
[package]
name = "quickjs"
version = "0.1.0"
edition = "2021"
[dependencies]
anyhow = "1.0.68"
wasi-common = "5.0.0"
wasmtime = "5.0.0"
wasmtime-wasi = "5.0.0"
[dev-dependencies]
clap = { version = "4.1.2", features = ["derive"] }
num_cpus = "1.15.0"
rayon = "1.6.1"
criterion = "0.4.0"
[[bench]]
name = "benchmark"
harness = false