[package]
edition = "2021"
rust-version = "1.85"
name = "dpcs"
version = "0.5.0"
authors = ["DPCS Contributors"]
build = false
exclude = [
".github/",
"docs/",
"adr/",
]
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"
[features]
cli = ["dep:clap"]
default = ["cli"]
[lib]
name = "dpcs"
path = "src/lib.rs"
[[bin]]
name = "dpcs"
path = "src/bin/dpcs.rs"
required-features = ["cli"]
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "graph_analysis"
path = "tests/graph_analysis.rs"
[[test]]
name = "model_identity"
path = "tests/model_identity.rs"
[[test]]
name = "parse_and_validate"
path = "tests/parse_and_validate.rs"
[[test]]
name = "round_trip"
path = "tests/round_trip.rs"
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.indexmap]
version = "2"
features = ["serde"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.thiserror]
version = "2"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.tempfile]
version = "3"
[profile.release]
lto = true
codegen-units = 1
strip = true