[package]
edition = "2021"
rust-version = "1.96"
name = "tsr_diagnostics"
version = "0.1.0"
build = false
include = [
"/src/**",
"/Cargo.toml",
"/README.md",
"/LICENSE",
"/NOTICE",
"/licenses/**",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generated TypeScript diagnostic codes and messages for tsr"
readme = "README.md"
keywords = [
"typescript",
"javascript",
"compiler",
"tsr",
]
categories = ["compilers"]
license = "Apache-2.0"
repository = "https://github.com/ferrotype/tsr"
[lib]
name = "tsr_diagnostics"
path = "src/lib.rs"
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
float_cmp = "allow"
format_push_string = "allow"
items_after_statements = "allow"
many_single_char_names = "allow"
map_unwrap_or = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1