javascript 0.1.0

A JavaScript engine implementation in Rust
Documentation
[dependencies.chrono]
features = ["serde"]
version = "0.4"

[dependencies.libc]
version = "0.2.177"

[dependencies.log]
version = "0.4"

[dependencies.regex]
version = "1.12.2"

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0.17"

[dev-dependencies.clap]
features = ["derive"]
version = "4.5.53"

[dev-dependencies.ctor]
version = "0.6"

[dev-dependencies.env_logger]
version = "0.11"

[[example]]
name = "js"
path = "examples/js.rs"

[[example]]
name = "rust_js"
path = "examples/rust_js.rs"

[lib]
name = "javascript"
path = "src/lib.rs"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools", "parsing"]
description = "A JavaScript engine implementation in Rust"
documentation = "https://docs.rs/javascript"
edition = "2024"
homepage = "https://github.com/ssrlive/javascript"
keywords = ["javascript", "engine", "interpreter", "runtime"]
license = "MIT"
name = "javascript"
readme = "README.md"
repository = "https://github.com/ssrlive/javascript"
version = "0.1.0"

[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_System_Threading", "Win32_System_Diagnostics_ToolHelp", "Win32_Foundation"]
version = "0.61.2"

[[test]]
name = "array_literals"
path = "tests/array_literals.rs"

[[test]]
name = "async_await_tests"
path = "tests/async_await_tests.rs"

[[test]]
name = "basic_arithmetic"
path = "tests/basic_arithmetic.rs"

[[test]]
name = "builtin_functions"
path = "tests/builtin_functions.rs"

[[test]]
name = "class_tests"
path = "tests/class_tests.rs"

[[test]]
name = "compound_assign"
path = "tests/compound_assign.rs"

[[test]]
name = "compound_assign_edgecases"
path = "tests/compound_assign_edgecases.rs"

[[test]]
name = "const_tests"
path = "tests/const_tests.rs"

[[test]]
name = "control_flow"
path = "tests/control_flow.rs"

[[test]]
name = "date_tests"
path = "tests/date_tests.rs"

[[test]]
name = "destructuring_tests"
path = "tests/destructuring_tests.rs"

[[test]]
name = "functions"
path = "tests/functions.rs"

[[test]]
name = "increment_decrement"
path = "tests/increment_decrement.rs"

[[test]]
name = "logical_assignments"
path = "tests/logical_assignments.rs"

[[test]]
name = "nullish_coalescing_tests"
path = "tests/nullish_coalescing_tests.rs"

[[test]]
name = "number_tests"
path = "tests/number_tests.rs"

[[test]]
name = "object_literals"
path = "tests/object_literals.rs"

[[test]]
name = "optional_chaining"
path = "tests/optional_chaining.rs"

[[test]]
name = "os_tests"
path = "tests/os_tests.rs"

[[test]]
name = "promise_async_tests"
path = "tests/promise_async_tests.rs"

[[test]]
name = "promise_tests"
path = "tests/promise_tests.rs"

[[test]]
name = "prototype_tests"
path = "tests/prototype_tests.rs"

[[test]]
name = "refcount"
path = "tests/refcount.rs"

[[test]]
name = "regexp_tests"
path = "tests/regexp_tests.rs"

[[test]]
name = "std_tests"
path = "tests/std_tests.rs"

[[test]]
name = "tmpfile_tests"
path = "tests/tmpfile_tests.rs"