2023-11-15 10:55:14 +01:00
|
|
|
[package]
|
|
|
|
name = "pipeline-lang"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
logos = "0.13"
|
|
|
|
codespan-reporting = "0.11"
|
2023-11-18 19:46:41 +01:00
|
|
|
clap = { version = "4.4.8", features = [ "derive" ] }
|
2023-11-20 10:03:37 +01:00
|
|
|
|
|
|
|
[lints.rust]
|
|
|
|
unsafe_code = "deny"
|
|
|
|
variant_size_differences = "warn"
|
|
|
|
|
|
|
|
[lints.clippy]
|
|
|
|
branches_sharing_code = "warn"
|
|
|
|
clone_on_ref_ptr = "warn"
|
|
|
|
cognitive_complexity = "warn"
|
|
|
|
derive_partial_eq_without_eq = "warn"
|
|
|
|
equatable_if_let = "warn"
|
|
|
|
filetype_is_file = "warn"
|
|
|
|
format_push_string = "warn"
|
|
|
|
if_then_some_else_none = "warn"
|
|
|
|
integer_division = "warn"
|
|
|
|
let_underscore_must_use = "warn"
|
|
|
|
manual_clamp = "warn"
|
|
|
|
pedantic = "warn"
|
|
|
|
str_to_string = "warn"
|
2023-11-20 10:27:47 +01:00
|
|
|
unneeded_field_pattern = "warn"
|
|
|
|
unnested_or_patterns = "warn"
|
2023-11-20 10:03:37 +01:00
|
|
|
|
|
|
|
allow_attributes_without_reason = "deny"
|
|
|
|
cast_lossles = "deny"
|
|
|
|
fallible_impl_from = "deny"
|
|
|
|
unnecessary_cast = "deny"
|
|
|
|
unwrap_used = "deny"
|
|
|
|
# allowed, since you can give reasons
|
|
|
|
expect_used = "allow"
|
|
|
|
|
|
|
|
# must be allowed with clearly documented reasons
|
|
|
|
indexing_slicing = "warn"
|
|
|
|
|