-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathCargo.toml
More file actions
34 lines (31 loc) · 1.14 KB
/
Cargo.toml
File metadata and controls
34 lines (31 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[package]
name = "sqlx-tracing"
version = "0.2.1"
edition = "2024"
description = "OpenTelemetry-compatible tracing for SQLx database operations in Rust."
license = "MIT"
repository = "https://github.com/jdrouet/sqlx-tracing"
documentation = "https://docs.rs/sqlx-tracing"
homepage = "https://github.com/jdrouet/sqlx-tracing"
readme = "README.md"
authors = ["Jérémie Drouet <jeremie.drouet@gmail.com>"]
keywords = ["sqlx", "tracing", "opentelemetry", "database", "observability"]
categories = ["database", "development-tools::debugging", "development-tools::profiling", "asynchronous"]
[features]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]
mysql = ["sqlx/mysql"]
[dependencies]
futures = { version = "0.3" }
sqlx = { version = "0.8", default-features = false, features = ["derive"] }
tracing = { version = "0.1" }
[dev-dependencies]
anyhow = "1"
opentelemetry = "0.30"
opentelemetry-testing = "0.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serial_test = { version = "3.4" }
sqlx = { version = "0.8", features = ["runtime-tokio"] }
testcontainers = "0.25"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }