# 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-error-reporting"
version = "0.1.0"
authors = ["Posit Software, PBC"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Structured, source-aware diagnostics (ariadne-rendered) with a pluggable error-code catalog."
homepage = "https://github.com/posit-dev/quarto-error-reporting"
readme = "README.md"
keywords = [
    "diagnostics",
    "error-reporting",
    "ariadne",
    "errors",
]
categories = [
    "development-tools",
    "rust-patterns",
]
license = "MIT"
repository = "https://github.com/posit-dev/quarto-error-reporting"

[features]
json = ["dep:schemars"]

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

[[example]]
name = "basic_error"
path = "examples/basic_error.rs"

[[example]]
name = "builder_api"
path = "examples/builder_api.rs"

[[example]]
name = "custom_rendering"
path = "examples/custom_rendering.rs"

[[example]]
name = "diagnostic_collector"
path = "examples/diagnostic_collector.rs"

[[example]]
name = "migration_helpers"
path = "examples/migration_helpers.rs"

[[example]]
name = "with_location"
path = "examples/with_location.rs"

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

[dependencies.ariadne]
version = "0.6"

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

[dependencies.schemars]
version = "1.2.1"
optional = true

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0"

[dependencies.url]
version = "2.5"
