[package]
edition = "2021"
rust-version = "1.75"
name = "dtcs"
version = "0.13.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reference implementation of the Data Transformation Contract Standard (DTCS)"
documentation = "https://docs.rs/dtcs"
readme = "README.md"
keywords = [
"dtcs",
"data-transformation",
"contracts",
"validation",
]
categories = [
"parsing",
"data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/eddiethedean/dtcs"
[features]
cli = ["dep:clap"]
default = ["cli"]
python = ["dep:pyo3"]
[lib]
name = "dtcs"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "dtcs"
path = "src/bin/dtcs.rs"
required-features = ["cli"]
[[example]]
name = "write_optimize_goldens"
path = "examples/write_optimize_goldens.rs"
[[test]]
name = "determinism"
path = "tests/determinism.rs"
[[test]]
name = "format_equivalence"
path = "tests/format_equivalence.rs"
[[test]]
name = "manifest"
path = "tests/manifest.rs"
[[test]]
name = "mvp"
path = "tests/mvp.rs"
[[test]]
name = "phase_0_10"
path = "tests/phase_0_10.rs"
[[test]]
name = "phase_0_11"
path = "tests/phase_0_11.rs"
[[test]]
name = "phase_0_2"
path = "tests/phase_0_2.rs"
[[test]]
name = "phase_0_3"
path = "tests/phase_0_3.rs"
[[test]]
name = "phase_0_4"
path = "tests/phase_0_4.rs"
[[test]]
name = "phase_0_6"
path = "tests/phase_0_6.rs"
[[test]]
name = "phase_0_7"
path = "tests/phase_0_7.rs"
[[test]]
name = "phase_0_8"
path = "tests/phase_0_8.rs"
[[test]]
name = "phase_0_9"
path = "tests/phase_0_9.rs"
[[test]]
name = "portable_relational"
path = "tests/portable_relational.rs"
[dependencies.chrono]
version = "0.4"
features = [
"std",
"clock",
]
default-features = false
[dependencies.chrono-tz]
version = "0.10"
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.include_dir]
version = "0.7"
[dependencies.indexmap]
version = "2"
features = ["serde"]
[dependencies.miette]
version = "7"
features = ["fancy"]
[dependencies.pyo3]
version = "0.23"
features = [
"extension-module",
"abi3-py39",
]
optional = true
[dependencies.regex]
version = "1"
[dependencies.semver]
version = "1"
features = ["serde"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.10"
[dependencies.uuid]
version = "1"
features = [
"v4",
"v7",
]
[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1"
features = [
"v4",
"v7",
"js",
]
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"