mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
7281322f51
1. Use `map_or(…, …)` instead of `.map(…).unwrap_or(…)`. 2. Use `.is_some_and(…)` instead of `.map(…).unwrap_or_default(…)`. 3. Nest `|` patterns where possible. 4. Be more specific about match patterns. I found I could also simplify `typecheck_qualified_type_reference` considerably. V3_GIT_ORIGIN_REV_ID: 6a3b1a4c525c0187c2fdb6df0c979ca0b7b3016c
52 lines
1.3 KiB
TOML
52 lines
1.3 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
|
|
package.version = "0.1.0"
|
|
package.edition = "2021"
|
|
package.license = "Apache-2.0"
|
|
|
|
members = [
|
|
"crates/auth/*",
|
|
"crates/custom-connector",
|
|
"crates/engine",
|
|
"crates/execute",
|
|
"crates/lang-graphql",
|
|
"crates/metadata-resolve",
|
|
"crates/metadata-schema-generator",
|
|
"crates/open-dds",
|
|
"crates/query-usage-analytics",
|
|
"crates/schema",
|
|
"crates/utils/*",
|
|
]
|
|
|
|
[workspace.lints.clippy]
|
|
all = { level = "warn", priority = -1 }
|
|
pedantic = { level = "warn", priority = -1 }
|
|
# disable certain pedantic warnings
|
|
doc_markdown = "allow"
|
|
missing_errors_doc = "allow"
|
|
missing_panics_doc = "allow"
|
|
module_name_repetitions = "allow"
|
|
must_use_candidate = "allow"
|
|
struct_field_names = "allow"
|
|
wildcard_imports = "allow"
|
|
# disable these for now, but we should probably fix them
|
|
implicit_clone = "allow"
|
|
implicit_hasher = "allow"
|
|
inefficient_to_string = "allow"
|
|
result_large_err = "allow"
|
|
return_self_not_must_use = "allow"
|
|
semicolon_if_nothing_returned = "allow"
|
|
similar_names = "allow"
|
|
too_many_arguments = "allow"
|
|
too_many_lines = "allow"
|
|
uninlined_format_args = "allow"
|
|
unnecessary_box_returns = "allow"
|
|
unnecessary_wraps = "allow"
|
|
unreadable_literal = "allow"
|
|
unused_async = "allow"
|
|
used_underscore_binding = "allow"
|
|
|
|
[workspace.lints.rustdoc]
|
|
private_intra_doc_links = "allow"
|