[package]
edition = "2021"
rust-version = "1.88"
name = "dpcs"
version = "0.11.0"
authors = ["DPCS Contributors"]
build = false
exclude = [".github/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reference implementation of the Data Pipeline Contract Standard (DPCS)"
homepage = "https://github.com/eddiethedean/dpcs"
documentation = "https://docs.rs/dpcs"
readme = "README.md"
keywords = [
"dpcs",
"data-pipeline",
"contracts",
"validation",
]
categories = [
"command-line-utilities",
"parser-implementations",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/eddiethedean/dpcs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
cli = [
"dep:clap",
"jsonschema",
"registry-client",
"registry-server",
]
default = []
full = [
"cli",
"tui",
]
jsonschema = ["dep:schemars"]
registry-client = [
"dep:reqwest",
"dep:url",
]
registry-server = [
"dep:axum",
"dep:tokio",
"dep:tower-http",
"dep:url",
]
tui = [
"cli",
"dep:ratatui",
"dep:crossterm",
]
[lib]
name = "dpcs"
path = "src/lib.rs"
[[test]]
name = "binding"
path = "tests/binding.rs"
[[test]]
name = "capabilities"
path = "tests/capabilities.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "graph_analysis"
path = "tests/graph_analysis.rs"
[[test]]
name = "model_identity"
path = "tests/model_identity.rs"
[[test]]
name = "package"
path = "tests/package.rs"
[[test]]
name = "parse_and_validate"
path = "tests/parse_and_validate.rs"
[[test]]
name = "planning"
path = "tests/planning.rs"
[[test]]
name = "registry_net"
path = "tests/registry_net.rs"
required-features = [
"registry-client",
"registry-server",
]
[[test]]
name = "report"
path = "tests/report.rs"
[[test]]
name = "round_trip"
path = "tests/round_trip.rs"
[[test]]
name = "schema"
path = "tests/schema.rs"
required-features = ["jsonschema"]
[dependencies.axum]
version = "0.8"
features = ["json"]
optional = true
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.crossterm]
version = "0.28"
optional = true
[dependencies.indexmap]
version = "2"
features = ["serde"]
[dependencies.ratatui]
version = "0.29"
features = ["crossterm"]
optional = true
default-features = false
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
"blocking",
]
optional = true
default-features = false
[dependencies.schemars]
version = "0.8"
features = ["indexmap2"]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"net",
"fs",
"signal",
]
optional = true
[dependencies.tower-http]
version = "0.6"
features = ["trace"]
optional = true
[dependencies.url]
version = "2"
features = ["serde"]
optional = true
[dependencies.walkdir]
version = "2"
[dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"net",
"fs",
"signal",
]