graphql-engine/v3/crates/lang-graphql/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

57 lines
1.1 KiB
TOML

[package]
name = "lang-graphql"
version.workspace = true
edition.workspace = true
license.workspace = true
[lib]
bench = false
[[bench]]
name = "lexer"
harness = false
[[bench]]
name = "parser"
harness = false
[[bench]]
name = "validation"
harness = false
[[bench]]
name = "schema_serde"
harness = false
[dependencies]
recursion_limit_macro = { path = "../recursion_limit_macro" }
axum = "0.6.20"
http = "0.2"
indexmap = { version = "2", features = ["serde"] }
lexical-core = "0.8"
nonempty = { version = "0.8", features = ["serialize"] }
schemars = { version = "0.8.12", features = ["smol_str"] }
serde = "1.0.152"
serde_json = "1.0.92"
serde_with = "2.2.0"
smol_str = "0.1.23"
thiserror = "1.0"
[dev-dependencies]
apollo-parser = "0.4"
async-graphql-parser = "5.0"
bincode = "1.3.3"
bson = "2.9.0"
criterion = { version = "0.4", features = ["html_reports"] }
diffy = "0.3.0"
expect-test = "1.4"
graphql-parser = "0.4"
human_bytes = "0.4.1"
postcard = { version = "1.0.4", features = ["use-std"] }
pretty_assertions = "1.3.0"
rmp-serde = "1.1.1"
[lints]
workspace = true