[package]
edition = "2024"
name = "ecma-runtime-cat"
version = "0.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ECMAScript runtime: native built-ins (console, Math, JSON, parseInt, isNaN, Promise, ...) that the boa-cat engine exposes to scripts. v0.3.1 bumps to boa-cat 0.7 + ecma-parse-cat 0.3 so the shared parser / AST version tracks across the workspace; no source change since this crate doesn't itself parse user scripts and the v0.3 Promise built-in already targets the boa-cat 0.6-style promise API."
readme = "README.md"
keywords = [
"ecmascript",
"javascript",
"runtime",
"builtin",
"boa",
]
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
[lib]
name = "ecma_runtime_cat"
path = "src/lib.rs"
[[test]]
name = "globals"
path = "tests/globals.rs"
[[test]]
name = "math"
path = "tests/math.rs"
[[test]]
name = "promise"
path = "tests/promise.rs"
[dependencies.boa-cat]
version = "0.7"
[dependencies.comp-cat-rs]
version = "0.5"
[dependencies.ecma-lex-cat]
version = "0.1"
[dependencies.ecma-parse-cat]
version = "0.3"
[dependencies.ecma-syntax-cat]
version = "0.1"
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
manual_map = "warn"
needless_pass_by_value = "warn"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1