mirror of
https://github.com/imjasonh/nescript
synced 2026-07-08 00:45:38 +00:00
44 lines
1,003 B
TOML
44 lines
1,003 B
TOML
|
|
[package]
|
||
|
|
name = "nescript"
|
||
|
|
version = "0.1.0"
|
||
|
|
edition = "2021"
|
||
|
|
description = "A statically-typed compiler for NES game development"
|
||
|
|
license = "MIT"
|
||
|
|
|
||
|
|
[dependencies]
|
||
|
|
clap = { version = "4", features = ["derive"] }
|
||
|
|
ariadne = "0.4"
|
||
|
|
|
||
|
|
[dev-dependencies]
|
||
|
|
pretty_assertions = "1"
|
||
|
|
|
||
|
|
[profile.release]
|
||
|
|
lto = true
|
||
|
|
strip = true
|
||
|
|
|
||
|
|
[lints.rust]
|
||
|
|
unsafe_code = "forbid"
|
||
|
|
|
||
|
|
[lints.clippy]
|
||
|
|
all = { level = "warn", priority = -1 }
|
||
|
|
pedantic = { level = "warn", priority = -1 }
|
||
|
|
# Allow patterns common in compiler code
|
||
|
|
module_name_repetitions = "allow"
|
||
|
|
must_use_candidate = "allow"
|
||
|
|
missing_errors_doc = "allow"
|
||
|
|
missing_panics_doc = "allow"
|
||
|
|
cast_possible_truncation = "allow"
|
||
|
|
wildcard_imports = "allow"
|
||
|
|
option_if_let_else = "allow"
|
||
|
|
match_same_arms = "allow"
|
||
|
|
unnested_or_patterns = "allow"
|
||
|
|
missing_const_for_fn = "allow"
|
||
|
|
too_many_lines = "allow"
|
||
|
|
single_match_else = "allow"
|
||
|
|
unnecessary_wraps = "allow"
|
||
|
|
unused_self = "allow"
|
||
|
|
enum_glob_use = "allow"
|
||
|
|
manual_assert = "allow"
|
||
|
|
vec_init_then_push = "allow"
|
||
|
|
struct_field_names = "allow"
|