[package]
edition = "2021"
rust-version = "1.75"
name = "odcs"
version = "0.8.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reference implementation of the Open Data Contract Standard (ODCS)"
documentation = "https://docs.rs/odcs"
readme = "README.md"
keywords = [
"odcs",
"data-contract",
"contracts",
"validation",
]
categories = [
"parsing",
"data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/eddiethedean/odcs"
[features]
cli = ["dep:clap"]
default = ["cli"]
python = ["dep:pyo3"]
[lib]
name = "odcs"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "odcs"
path = "src/bin/odcs.rs"
doc = false
required-features = ["cli"]
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "compatibility"
path = "tests/compatibility.rs"
[[test]]
name = "cross_file"
path = "tests/cross_file.rs"
[[test]]
name = "diagnostic_metadata"
path = "tests/diagnostic_metadata.rs"
[[test]]
name = "json_schema_conformance"
path = "tests/json_schema_conformance.rs"
[[test]]
name = "skeleton"
path = "tests/skeleton.rs"
[[test]]
name = "spec_parity"
path = "tests/spec_parity.rs"
[[test]]
name = "validation_negative"
path = "tests/validation_negative.rs"
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.indexmap]
version = "2"
features = ["serde"]
[dependencies.jsonschema]
version = "0.29"
[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_path_to_error]
version = "0.1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.unsafe-libyaml]
version = "0.2.11"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"