# 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 = "2024"
name = "quarto-yaml-validation"
version = "0.1.0"
authors = ["Posit Software, PBC"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Schema validation for YAML 1.2 documents, with source-located diagnostics."
homepage = "https://github.com/posit-dev/quarto-yaml"
readme = "README.md"
keywords = [
    "yaml",
    "validation",
    "schema",
    "diagnostics",
    "source-map",
]
categories = [
    "parsing",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/posit-dev/quarto-yaml"

[lib]
name = "quarto_yaml_validation"
path = "src/lib.rs"

[[test]]
name = "integration"
path = "tests/integration/main.rs"

[dependencies.anyhow]
version = "1.0.101"

[dependencies.quarto-error-reporting]
version = "0.1.0"

[dependencies.quarto-source-map]
version = "0.1.0"

[dependencies.quarto-yaml]
version = "0.1.0"

[dependencies.regex]
version = "1.12"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0"

[dependencies.yaml-rust2]
version = "0.11"

[dev-dependencies.insta]
version = "1.46.3"

[lints.clippy]
large_enum_variant = "allow"
result_large_err = "allow"
