mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
d8277974a8
Rather than allowing the `cast_precision_loss` and `inline_always` warnings everywhere, we just suppress them in the few places they're already used. V3_GIT_ORIGIN_REV_ID: c28350a21efa029c8c6aae2a602eec2d75f42216
60 lines
1.5 KiB
TOML
60 lines
1.5 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"
|
|
wildcard_imports = "allow"
|
|
# disable these for now, but we should probably fix them
|
|
default_trait_access = "allow"
|
|
ignored_unit_patterns = "allow"
|
|
implicit_clone = "allow"
|
|
implicit_hasher = "allow"
|
|
inconsistent_struct_constructor = "allow"
|
|
inefficient_to_string = "allow"
|
|
manual_is_variant_and = "allow"
|
|
manual_string_new = "allow"
|
|
map_unwrap_or = "allow"
|
|
match_wildcard_for_single_variants = "allow"
|
|
result_large_err = "allow"
|
|
return_self_not_must_use = "allow"
|
|
semicolon_if_nothing_returned = "allow"
|
|
similar_names = "allow"
|
|
struct_field_names = "allow"
|
|
too_many_arguments = "allow"
|
|
too_many_lines = "allow"
|
|
uninlined_format_args = "allow"
|
|
unnecessary_box_returns = "allow"
|
|
unnecessary_wraps = "allow"
|
|
unnested_or_patterns = "allow"
|
|
unreadable_literal = "allow"
|
|
unused_async = "allow"
|
|
used_underscore_binding = "allow"
|
|
|
|
[workspace.lints.rustdoc]
|
|
private_intra_doc_links = "allow"
|