[[bench]]
harness = false
name = "lexer"
path = "benches/lexer.rs"
[[bench]]
harness = false
name = "parser"
path = "benches/parser.rs"
[[bin]]
name = "profile_lexer"
path = "src/bin/profile_lexer.rs"
[[bin]]
name = "profile_parser"
path = "src/bin/profile_parser.rs"
[[bin]]
name = "test262-runner"
path = "src/bin/test262-runner.rs"
[[bin]]
name = "tsrun"
path = "src/bin/tsrun.rs"
[dependencies.chrono]
default-features = false
features = ["clock", "std"]
version = "0.4"
[dependencies.indexmap]
features = ["serde"]
version = "2.0"
[dependencies.regex]
default-features = false
features = ["std", "unicode-perl", "unicode-case"]
version = "1.10"
[dependencies.rustc-hash]
version = "2.1"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "1.0"
[dependencies.unicode-normalization]
version = "0.1"
[dependencies.unicode-xid]
version = "0.2"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[lib]
name = "tsrun"
path = "src/lib.rs"
[lints.clippy]
expect_used = "deny"
indexing_slicing = "deny"
panic = "deny"
string_slice = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_used = "deny"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["parser-implementations"]
description = "A TypeScript interpreter designed for embedding in applications"
edition = "2021"
keywords = ["typescript", "javascript", "interpreter", "embedding"]
license = "MIT"
name = "tsrun"
readme = "README.md"
version = "0.1.0"
[profile.profiling]
debug = 2
inherits = "release"
strip = false
[profile.release]
codegen-units = 1
lto = true
opt-level = "z"
panic = "abort"
strip = true
[[test]]
name = "compiler"
path = "tests/compiler.rs"
[[test]]
name = "interpreter"
path = "tests/interpreter/main.rs"
[[test]]
name = "lexer"
path = "tests/lexer.rs"
[[test]]
name = "parser"
path = "tests/parser.rs"