[package]
edition = "2021"
name = "hermes-parser"
version = "0.1.3"
authors = ["Tzvetan Mikov <tmikov@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust port of the Hermes JavaScript/Flow/TypeScript parser (front-end) by Tzvetan Mikov, the architect of Hermes. Not an official Meta project."
readme = "README.md"
keywords = [
"javascript",
"parser",
"flow",
"ecmascript",
"ast",
]
categories = [
"parser-implementations",
"development-tools",
]
license = "MIT"
repository = "https://github.com/tmikov/hermes"
[lib]
name = "hermes_parser"
path = "src/lib.rs"
[[example]]
name = "parse_to_estree_json"
path = "examples/parse_to_estree_json.rs"
[[example]]
name = "walk_ast"
path = "examples/walk_ast.rs"
[[test]]
name = "differential"
path = "tests/differential.rs"
[[test]]
name = "error_expected_range"
path = "tests/error_expected_range.rs"
[[test]]
name = "jslexer_ported"
path = "tests/jslexer_ported.rs"
[[test]]
name = "json_differential"
path = "tests/json_differential.rs"
[[test]]
name = "json_parser_ported"
path = "tests/json_parser_ported.rs"
[[test]]
name = "lazy_reparse"
path = "tests/lazy_reparse.rs"
[[test]]
name = "node_string_accessors"
path = "tests/node_string_accessors.rs"
[[test]]
name = "parser_differential"
path = "tests/parser_differential.rs"
[[test]]
name = "preparse_differential"
path = "tests/preparse_differential.rs"
[[test]]
name = "preparse_memory"
path = "tests/preparse_memory.rs"
[[test]]
name = "recursion_depth_limit"
path = "tests/recursion_depth_limit.rs"
[[test]]
name = "upstream_defect_fixes"
path = "tests/upstream_defect_fixes.rs"
[dependencies.bumpalo]
version = "3.16"
[dependencies.hermes_ast]
version = "0.1.1"
package = "hermes-ast"
[dependencies.hermes_atom_table]
version = "0.1.0"
package = "hermes-atom-table"
[dependencies.hermes_support]
version = "0.1.0"
package = "hermes-support"
[dependencies.hermes_unicode]
version = "0.1.0"
package = "hermes-unicode"
[lints.rust]
unsafe_code = "deny"