[package]
edition = "2024"
name = "tsz-parser"
version = "0.1.1"
authors = ["Mohsen Azimi <mohsen@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TypeScript parser and AST types for the tsz compiler"
homepage = "https://github.com/mohsenazimi/tsz"
readme = false
keywords = [
"typescript",
"type-checker",
"compiler",
"language",
"tsz",
]
categories = [
"development-tools",
"compilers",
"parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/mohsenazimi/tsz"
[lib]
name = "tsz_parser"
path = "src/lib.rs"
[dependencies.rustc-hash]
version = "2.0"
[dependencies.serde]
version = "1.0"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]
[dependencies.tracing]
version = "0.1"
[dependencies.tsz-common]
version = "0.1.0"
[dependencies.tsz-scanner]
version = "0.1.0"
[dependencies.wasm-bindgen]
version = "0.2"
[lints.clippy]
dbg_macro = "deny"
doc_markdown = "warn"
empty_structs_with_brackets = "warn"
get_unwrap = "deny"
match_same_arms = "warn"
missing_const_for_fn = "warn"
print_stderr = "deny"
redundant_clone = "warn"
uninlined_format_args = "warn"
[lints.clippy.complexity]
level = "deny"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.style]
level = "deny"
priority = -1
[lints.rust]
unsafe_code = "warn"
[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1