iowo/Cargo.toml

62 lines
1.4 KiB
TOML
Raw Normal View History

2024-01-01 07:30:04 +01:00
[workspace]
2024-01-18 20:29:41 +01:00
members = [
2024-01-20 21:32:25 +01:00
"crates/app",
2024-01-20 21:36:40 +01:00
"crates/eval",
2024-03-08 12:34:09 +01:00
"crates/ir",
"crates/lang",
"crates/svg-filters",
"crates/prowocessing",
2024-10-18 14:05:27 +02:00
"crates/executor-poc",
"crates/pawarser",
"crates/json-pawarser",
2024-01-01 07:30:04 +01:00
]
resolver = "2"
[workspace.dependencies]
clap = { version = "4", features = ["derive"] }
2024-01-20 21:32:25 +01:00
serde = { version = "1.0", features = ["derive"] }
2024-04-03 00:08:00 +02:00
petgraph = "0.6.4"
2023-11-20 10:03:37 +01:00
# to enable all the lints below, this must be present in a workspace member's Cargo.toml:
# [lints]
# workspace = true
2024-01-11 00:36:58 +01:00
[workspace.lints.rust]
2023-11-20 10:03:37 +01:00
unsafe_code = "deny"
variant_size_differences = "warn"
2024-01-11 00:36:58 +01:00
[workspace.lints.clippy]
2023-11-20 10:03:37 +01:00
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_lossless = "deny"
2023-11-20 10:03:37 +01:00
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 = "allow"
2023-11-20 10:03:37 +01:00
module_name_repetitions = "allow"
must_use_candidate = "allow"
# TODO: more granular and clean
missing_panics_doc = "allow"
missing_errors_doc = "allow"