# 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 = "2021"
name = "dbt-lineage"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust CLI tool for visualizing dbt model lineage"
homepage = "https://github.com/sipemu/dbt-lineage-viewer"
readme = "README.md"
keywords = [
    "dbt",
    "lineage",
    "dag",
    "sql",
    "tui",
]
categories = [
    "command-line-utilities",
    "visualization",
]
license = "MIT"
repository = "https://github.com/sipemu/dbt-lineage-viewer"

[features]
default = ["tui"]
tui = [
    "ratatui",
    "crossterm",
]

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

[[bin]]
name = "dbt-lineage"
path = "src/main.rs"

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[[test]]
name = "tui_test"
path = "tests/tui_test.rs"

[dependencies.anyhow]
version = "1"

[dependencies.bincode]
version = "1"

[dependencies.blake3]
version = "1"

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

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

[dependencies.colored]
version = "2"

[dependencies.crossterm]
version = "0.28"
optional = true

[dependencies.indexmap]
version = "2"

[dependencies.petgraph]
version = "0.6"

[dependencies.ratatui]
version = "0.29"
optional = true

[dependencies.rayon]
version = "1"

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.thiserror]
version = "2"

[dependencies.walkdir]
version = "2"

[dev-dependencies.jugar-probar]
version = "1.0.2"
features = ["tui"]
default-features = false

[dev-dependencies.regex]
version = "1"

[dev-dependencies.serde_yaml]
version = "0.9"

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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tarpaulin_include)"]
