# 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"
name = "lex-babel"
version = "0.8.0"
authors = ["lex contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Format conversion library for the lex format"
readme = false
keywords = [
    "format",
    "conversion",
    "lex",
    "markdown",
    "html",
]
categories = ["text-processing"]
license = "MIT"
repository = "https://github.com/lex-fmt/lex"

[features]
default = ["native-export"]
native-export = [
    "tempfile",
    "which",
]

[lib]
name = "lex_babel"
path = "src/lib.rs"
doctest = false

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

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

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

[dependencies.comrak]
version = "0.29"

[dependencies.html5ever]
version = "0.35"

[dependencies.lex-core]
version = "0.8.0"

[dependencies.markup5ever_rcdom]
version = "0.35"

[dependencies.pathdiff]
version = "0.2"

[dependencies.roxmltree]
version = "0.19"

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

[dependencies.tempfile]
version = "3"
optional = true

[dependencies.url]
version = "2.4"

[dependencies.which]
version = "4"
optional = true

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

[dev-dependencies.once_cell]
version = "1.20"

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.regex]
version = "1.12.2"

[dev-dependencies.tempfile]
version = "3"
