# 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"
rust-version = "1.75"
name = "dtcs"
version = "0.1.2"
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/dtcs/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"]

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

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

[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.semver]
version = "1"
features = ["serde"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
