[package]
edition = "2021"
rust-version = "1.85"
name = "formalang"
version = "0.0.5-beta"
authors = ["formavera team"]
build = false
include = [
"/src/**/*",
"/Cargo.toml",
"/README.md",
"/LICENSE-MIT",
"/LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "FormaLang compiler frontend: lexer, parser, semantic analyzer, and IR lowering."
readme = "README.md"
keywords = [
"compiler",
"language",
"frontend",
"ir",
"plugin",
]
categories = [
"compilers",
"parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/valentinradu/formalang"
[lib]
name = "formalang"
path = "src/lib.rs"
[[bin]]
name = "fvc"
path = "src/bin/fvc.rs"
[dependencies.ariadne]
version = "0.4"
[dependencies.chumsky]
version = "1.0.0-alpha.7"
features = ["pratt"]
[dependencies.ctrlc]
version = "3"
[dependencies.logos]
version = "0.14"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.thiserror]
version = "2.0"
[dependencies.yansi]
version = "1.0"
[dev-dependencies.insta]
version = "1.47.2"
[dev-dependencies.pretty_assertions]
version = "1.4"
[dev-dependencies.rstest]
version = "0.26"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tempfile]
version = "3.23"
[lints.clippy]
allow_attributes = "deny"
arithmetic_side_effects = "deny"
await_holding_lock = "deny"
await_holding_refcell_ref = "deny"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "deny"
cast_sign_loss = "deny"
clone_on_ref_ptr = "warn"
dbg_macro = "deny"
error_impl_error = "warn"
exhaustive_enums = "warn"
exhaustive_structs = "warn"
exit = "deny"
expect_used = "deny"
fallible_impl_from = "warn"
format_push_string = "warn"
indexing_slicing = "warn"
integer_division = "deny"
missing_panics_doc = "warn"
module_name_repetitions = "allow"
modulo_arithmetic = "deny"
must_use_candidate = "warn"
panic = "deny"
panic_in_result_fn = "deny"
print_stderr = "deny"
print_stdout = "deny"
redundant_pub_crate = "allow"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"
wildcard_enum_match_arm = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
dead_code = "warn"
missing_debug_implementations = "warn"
unreachable_pub = "deny"
unsafe_code = "forbid"
unused_must_use = "deny"
[lints.rustdoc]
broken_intra_doc_links = "deny"
missing_crate_level_docs = "warn"
[profile.dev]
debug = "line-tables-only"
[profile.test]
debug = "line-tables-only"