graphql-engine/v3/crates/open-dds/Cargo.toml
Daniel Harvey 2a24b3060a use clippy settings in Cargo workspace (#441)
<!-- Thank you for submitting this PR! :) -->

## Description

Following the approach taken here:
https://github.com/hasura/ndc-postgres/pull/402

This moves the `clippy` settings into the Cargo workspace file instead
of passing them for each invocation.

We enable all pedantic settings, run `cargo clippy --fix` to auto fix a
few things, and then manually disable all other lints.

Plenty of them are worth enabling and fixing in future IMO.

---------

Co-authored-by: Samir Talwar <samir.talwar@hasura.io>
V3_GIT_ORIGIN_REV_ID: aa0e6ccb8d72a7393e14b5c58b82077a67d9cb15
2024-04-08 10:14:11 +00:00

36 lines
796 B
TOML

[package]
name = "open-dds"
version.workspace = true
edition.workspace = true
license.workspace = true
[lib]
bench = false
[dependencies]
opendds-derive = { path = "../opendds-derive" }
derive_more = "0.99.17"
indexmap = { version = "2", features = ["serde"] }
lazy_static = "1.4.0"
ndc-models = { git = "https://github.com/hasura/ndc-spec.git", tag = "v0.1.2" }
schemars = { version = "0.8.12", features = ["smol_str", "preserve_order"] }
serde = "1.0.152"
serde_json = { version = "1.0.92", features = ["preserve_order"] }
serde_path_to_error = "0.1.14"
strum = "0.25.0"
strum_macros = "0.25.2"
thiserror = "1.0"
[dev-dependencies]
goldenfile = "^1.4.5"
pretty_assertions = "1.3.0"
[package.metadata.cargo-machete]
ignored = [
"strum", # used by strum_macros
]
[lints]
workspace = true