# 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 = "text-document-formatting"
version = "1.4.2"
authors = ["Cyril Jacquet <cyril.jacquet@ferntech.eu>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Undoable text and block formatting use cases for text-document"
homepage = "https://github.com/jacquetc/text-document"
documentation = "https://docs.rs/text-document/"
readme = "README.md"
keywords = [
    "text",
    "document",
    "model",
    "format",
]
categories = [
    "data-structures",
    "text-editors",
    "text-processing",
    "parsing",
]
license = "MPL-2.0"
repository = "https://github.com/jacquetc/text-document"

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.common]
version = "1.4.2"
package = "text-document-common"

[dependencies.macros]
version = "1.4.2"
package = "text-document-macros"

[dependencies.serde]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dev-dependencies.test_harness]
version = "1.4.2"
package = "text-document-test-harness"

[lints.rust]
