# 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 = "panache-parser"
version = "0.15.0"
authors = ["Johan Larsson <johan@jolars.co>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lossless CST parser and syntax wrappers for Pandoc markdown, Quarto, and RMarkdown"
homepage = "https://panache.bz"
documentation = "https://docs.rs/panache-parser"
readme = "README.md"
keywords = [
    "quarto",
    "pandoc",
    "markdown",
    "parser",
    "syntax",
]
categories = [
    "text-processing",
    "parsing",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/jolars/panache"

[features]
default = []
schema = [
    "serde",
    "dep:schemars",
]
serde = ["dep:serde"]

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

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

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

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

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

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

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

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

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

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

[dependencies.entities]
version = "1.0.2-rc.1"

[dependencies.log]
version = "0.4.31"
features = ["release_max_level_debug"]

[dependencies.rowan]
version = "0.16.1"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.smallvec]
version = "1"

[dependencies.unicode-width]
version = "0.2"

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

[dev-dependencies.toml]
version = "1.1.2"
