[package]
edition = "2024"
name = "mrubyedge"
version = "1.1.0"
authors = ["Uchio Kondo <udzura@udzura.jp>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "mruby/edge is yet another mruby that is specialized for running on WASM"
readme = "README.md"
license = "BSD-3-Clause"
resolver = "2"
[features]
default = [
"wasi",
"mrubyedge-debug",
]
mruby-hash-fnv = ["dep:fnv"]
mruby-random = [
"dep:rand_core",
"dep:rand_xorshift",
]
mruby-regexp = ["dep:regex"]
mrubyedge-debug = ["wasi"]
no-wasi = []
wasi = []
[lib]
name = "mrubyedge"
path = "src/lib.rs"
[[example]]
name = "dump"
path = "examples/dump.rs"
[[example]]
name = "newvm"
path = "examples/newvm.rs"
[[example]]
name = "newvm-2"
path = "examples/newvm-2.rs"
[[example]]
name = "newvm-3"
path = "examples/newvm-3.rs"
[[example]]
name = "runscript"
path = "examples/runscript.rs"
[[test]]
name = "alias"
path = "tests/alias.rs"
[[test]]
name = "args"
path = "tests/args.rs"
[[test]]
name = "array"
path = "tests/array.rs"
[[test]]
name = "assign"
path = "tests/assign.rs"
[[test]]
name = "break"
path = "tests/break.rs"
[[test]]
name = "enumerable"
path = "tests/enumerable.rs"
[[test]]
name = "equal"
path = "tests/equal.rs"
[[test]]
name = "float"
path = "tests/float.rs"
[[test]]
name = "fncall"
path = "tests/fncall.rs"
[[test]]
name = "hash"
path = "tests/hash.rs"
[[test]]
name = "integer"
path = "tests/integer.rs"
[[test]]
name = "is_a"
path = "tests/is_a.rs"
[[test]]
name = "iter"
path = "tests/iter.rs"
[[test]]
name = "iter_closure"
path = "tests/iter_closure.rs"
[[test]]
name = "kargs"
path = "tests/kargs.rs"
[[test]]
name = "klass"
path = "tests/klass.rs"
[[test]]
name = "method_missing"
path = "tests/method_missing.rs"
[[test]]
name = "module"
path = "tests/module.rs"
[[test]]
name = "object"
path = "tests/object.rs"
[[test]]
name = "object_id"
path = "tests/object_id.rs"
[[test]]
name = "pack"
path = "tests/pack.rs"
[[test]]
name = "proc"
path = "tests/proc.rs"
[[test]]
name = "raise"
path = "tests/raise.rs"
[[test]]
name = "raise_rust"
path = "tests/raise_rust.rs"
[[test]]
name = "random"
path = "tests/random.rs"
[[test]]
name = "regexp"
path = "tests/regexp.rs"
[[test]]
name = "return"
path = "tests/return.rs"
[[test]]
name = "return_block"
path = "tests/return_block.rs"
[[test]]
name = "shared_memory"
path = "tests/shared_memory.rs"
[[test]]
name = "singleton_class"
path = "tests/singleton_class.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[[test]]
name = "string"
path = "tests/string.rs"
[[bench]]
name = "benchmark"
path = "benches/benchmark.rs"
harness = false
[[bench]]
name = "hashmap_comparison"
path = "benches/hashmap_comparison.rs"
harness = false
[dependencies.fnv]
version = "1.0.7"
optional = true
[dependencies.plain]
version = "0.2.3"
[dependencies.rand_core]
version = "0.10.0"
optional = true
[dependencies.rand_xorshift]
version = "0.5.0"
optional = true
[dependencies.regex]
version = "1.12.2"
features = ["std"]
optional = true
default-features = false
[dependencies.simple_endian]
version = "0.3.3"
[dev-dependencies.criterion]
version = "0.5.1"
[dev-dependencies.fnv]
version = "1.0.7"
[dev-dependencies.mec-mrbc-sys]
version = "3.3.1"
[dev-dependencies.mruby-compiler2-sys]
version = "0.2.2"
[dev-dependencies.once_cell]
version = "1.20.2"