flowscope-cli 0.3.1

Command-line interface for FlowScope SQL lineage analyzer
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 = "2021"
name = "flowscope-cli"
version = "0.3.1"
authors = ["PondPilot Team"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line interface for FlowScope SQL lineage analyzer"
homepage = "https://flowscope.pondpilot.io"
documentation = "https://docs.rs/flowscope-cli"
readme = "README.md"
keywords = [
    "sql",
    "lineage",
    "cli",
    "analysis",
    "database",
]
categories = [
    "command-line-utilities",
    "database",
]
license = "Apache-2.0"
repository = "https://github.com/pondpilot/flowscope"

[features]
default = [
    "templating",
    "metadata-provider",
    "serve",
]
integration-tests = ["metadata-provider"]
metadata-provider = [
    "sqlx",
    "tokio",
]
serve = [
    "dep:axum",
    "dep:tower-http",
    "dep:rust-embed",
    "dep:notify-debouncer-mini",
    "dep:mime_guess",
    "dep:open",
    "dep:walkdir",
    "dep:chrono",
    "tokio/macros",
    "tokio/signal",
]
templating = ["flowscope-core/templating"]

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

[[bin]]
name = "flowscope"
path = "src/main.rs"

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

[[test]]
name = "integration"
path = "tests/integration/main.rs"

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.axum]
version = "0.8"
optional = true

[dependencies.chrono]
version = "0.4"
optional = true

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

[dependencies.flowscope-core]
version = "0.3.1"
default-features = false

[dependencies.flowscope-export]
version = "0.3.1"
features = ["duckdb"]
default-features = false

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

[dependencies.mime_guess]
version = "2"
optional = true

[dependencies.notify-debouncer-mini]
version = "0.5"
optional = true

[dependencies.open]
version = "5"
optional = true

[dependencies.owo-colors]
version = "4"

[dependencies.rust-embed]
version = "8"
features = ["include-exclude"]
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio-rustls",
    "any",
    "postgres",
    "mysql",
    "sqlite",
]
optional = true

[dependencies.tabled]
version = "0.20"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]
optional = true

[dependencies.tower-http]
version = "0.6"
features = [
    "fs",
    "cors",
    "limit",
]
optional = true

[dependencies.walkdir]
version = "2"
optional = true

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dev-dependencies.rusqlite]
version = "0.32"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "time",
]

[dev-dependencies.tower]
version = "0.5"
features = ["util"]