dataprof 0.5.0

High-performance data profiler with ISO 8000/25012 quality metrics for CSV, JSON/JSONL, and Parquet files
Documentation
[[bench]]
harness = false
name = "benchmarks"
path = "benches/benchmarks.rs"

[[bin]]
name = "dataprof-cli"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.arrow]
version = "57.2.0"

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

[dependencies.chrono]
features = ["serde"]
version = "0.4"

[dependencies.clap]
features = ["derive"]
version = "4.5.54"

[dependencies.colored]
version = "3.0"

[dependencies.csv]
version = "1.4"

[dependencies.datafusion]
optional = true
version = "52.0.0"

[dependencies.env_logger]
version = "0.11"

[dependencies.futures]
version = "0.3.31"

[dependencies.glob]
version = "0.3"

[dependencies.glob-match]
version = "0.2"

[dependencies.handlebars]
version = "6.4"

[dependencies.indicatif]
version = "0.18"

[dependencies.is-terminal]
version = "0.4"

[dependencies.log]
version = "0.4"

[dependencies.memmap2]
version = "0.9"

[dependencies.num_cpus]
version = "1.16"

[dependencies.parquet]
features = ["arrow"]
optional = true
version = "57.2.0"

[dependencies.pyo3]
features = ["extension-module"]
optional = true
version = "0.27"

[dependencies.pyo3-async-runtimes]
features = ["tokio-runtime"]
optional = true
version = "0.27"

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

[dependencies.rand_chacha]
version = "0.9"

[dependencies.rand_distr]
version = "0.5"

[dependencies.rayon]
version = "1.8"

[dependencies.regex]
version = "1.12"

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

[dependencies.serde_json]
version = "1.0.149"

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

[dependencies.sysinfo]
version = "0.37"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.toml]
version = "0.9.8"

[dependencies.url]
optional = true
version = "2.5.8"

[dependencies.uuid]
features = ["v4"]
version = "1.0"

[dependencies.wide]
version = "1.1.1"

[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.8"

[dev-dependencies.predicates]
version = "3.1"

[dev-dependencies.proptest]
version = "1.9"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.serial_test]
version = "3.3.1"

[dev-dependencies.tempfile]
version = "3.24"

[features]
all-db = ["postgres", "mysql", "sqlite"]
database = ["dep:tokio", "dep:async-trait", "dep:url"]
datafusion = ["dep:datafusion", "dep:tokio"]
default = []
minimal = []
mysql = ["database", "dep:sqlx", "sqlx/mysql"]
parquet = ["dep:parquet"]
postgres = ["database", "dep:sqlx", "sqlx/postgres"]
production = ["postgres", "mysql"]
python = ["dep:pyo3"]
python-async = ["python", "dep:pyo3-async-runtimes", "dep:tokio"]
sqlite = ["database", "dep:sqlx", "sqlx/sqlite"]

[lib]
crate-type = ["rlib"]
name = "dataprof"
path = "src/lib.rs"

[lints.clippy]
all = "deny"

[lints.rust]

[package]
authors = ["Andrea Bozzo"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities", "data-structures"]
description = "High-performance data profiler with ISO 8000/25012 quality metrics for CSV, JSON/JSONL, and Parquet files"
documentation = "https://docs.rs/dataprof"
edition = "2024"
exclude = ["assets/animations/*", "assets/images/*.png", "examples/*", ".venv/*", ".mypy_cache/*", "python/*", ".github/*"]
homepage = "https://github.com/AndreaBozzo/dataprof"
keywords = ["data", "analysis", "cli", "data-quality", "parquet"]
license = "MIT OR Apache-2.0"
name = "dataprof"
readme = "README.md"
repository = "https://github.com/AndreaBozzo/dataprof"
version = "0.5.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[profile.ci]
codegen-units = 1
debug = 2
incremental = false
inherits = "test"
opt-level = 0

[profile.dev]
codegen-units = 256
debug = 2
incremental = true
opt-level = 0
split-debuginfo = "packed"

[profile.dev.package."*"]
opt-level = 1

[profile.release]
codegen-units = 1
lto = true
panic = "abort"
strip = true

[profile.release-lto]
inherits = "release"

[profile.test]
codegen-units = 256
debug = 2
incremental = true
opt-level = 1

[profile.test.package."*"]
opt-level = 1