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

30 lines
553 B
TOML

[package]
name = "tracing-util"
version.workspace = true
edition.workspace = true
license.workspace = true
[lib]
bench = false
[dependencies]
derive_more = "0.99.17"
http = "0.2"
opentelemetry = "0.22.0"
opentelemetry-contrib = "0.14.0"
opentelemetry-http = "0.11.0"
opentelemetry-otlp = "0.15.0"
opentelemetry_sdk = { version = "0.22.1", features = ["rt-tokio"] }
opentelemetry-semantic-conventions = "0.14.0"
[dev-dependencies]
axum = "0.6"
[package.metadata.cargo-machete]
ignored = [
"axum", # used in doc examples
]
[lints]
workspace = true