dataprof-db 0.8.0

Database connectivity and query profiling support for dataprof
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "dataprof-db"
version = "0.8.0"
authors = ["Andrea Bozzo"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Database connectivity and query profiling support for dataprof"
readme = false
license = "MIT OR Apache-2.0"

[features]
all-db = [
    "postgres",
    "mysql",
    "sqlite",
]
default = []
mysql = [
    "dep:sqlx",
    "sqlx/mysql",
]
postgres = [
    "dep:sqlx",
    "sqlx/postgres",
]
sqlite = [
    "dep:sqlx",
    "sqlx/sqlite",
]

[lib]
name = "dataprof_db"
path = "src/lib.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.dataprof-core]
version = "0.8.0"

[dependencies.dataprof-metrics]
version = "0.8.0"

[dependencies.dataprof-runtime]
version = "0.8.0"

[dependencies.log]
version = "0.4"

[dependencies.rand]
version = "0.9.3"
features = ["small_rng"]

[dependencies.regex]
version = "1.12"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.sqlx]
version = "0.8.1"
features = [
    "runtime-tokio-rustls",
    "chrono",
    "uuid",
]
optional = true
default-features = false

[dependencies.tokio]
version = "1.49"
features = ["full"]

[dependencies.url]
version = "2.5.8"