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

25 lines
484 B
TOML

[package]
name = "custom-connector"
version.workspace = true
edition.workspace = true
license.workspace = true
[lib]
bench = false
[[bin]]
name = "custom-connector"
path = "src/main.rs"
bench = false
[dependencies]
axum = "^0.6.9"
indexmap = "2"
ndc-models = { git = "https://github.com/hasura/ndc-spec.git", tag = "v0.1.2" }
regex = "^1.7.3"
serde_json = "^1.0.92"
tokio = { version = "^1.26.0", features = ["macros", "parking_lot", "rt-multi-thread"] }
[lints]
workspace = true