graphql-engine/v3/Cargo.toml
Samir Talwar 0c6d6a67d2 Semicolons, everywhere! (#700)
If a function doesn't return a value, terminate with a semicolon.

I also moved `implicit_hasher` and `return_self_not_must_use` to the
"definitely keep disabling this" list, and installed
[Bacon](https://dystroy.org/bacon/) in the Nix shell to make it easier
to run Clippy.

V3_GIT_ORIGIN_REV_ID: ffb17b42d982518aec433a1676dba0a0dd0ad95d
2024-06-11 15:33:32 +00:00

49 lines
1.2 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"
implicit_hasher = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
return_self_not_must_use = "allow"
struct_field_names = "allow"
wildcard_imports = "allow"
# disable these for now, but we should probably fix them
result_large_err = "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"