quarto-error-reporting 0.2.0

Structured, source-aware diagnostics with pluggable rendering (ariadne or annotate-snippets) and a pluggable error-code catalog.
Documentation
# 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.2.0"
authors = ["Posit Software, PBC"]
build = false
exclude = [
    ".cargo",
    ".claude",
    ".github",
    "claude-notes",
    "CLAUDE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Structured, source-aware diagnostics with pluggable rendering (ariadne or annotate-snippets) and a pluggable error-code catalog."
homepage = "https://github.com/posit-dev/quarto-error-reporting"
readme = "README.md"
keywords = [
    "diagnostics",
    "error-reporting",
    "ariadne",
    "annotate-snippets",
]
categories = [
    "development-tools",
    "rust-patterns",
]
license = "MIT"
repository = "https://github.com/posit-dev/quarto-error-reporting"

[features]
annotate-snippets = ["dep:annotate-snippets"]
ariadne = ["dep:ariadne"]
default = ["ariadne"]
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 = "renderer_selection"
path = "examples/renderer_selection.rs"

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

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

[dependencies.annotate-snippets]
version = "0.12"
optional = true

[dependencies.ariadne]
version = "0.6"
optional = true

[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"