# 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"
rust-version = "1.60"
name = "indoc"
version = "2.0.7"
authors = ["David Tolnay <dtolnay@gmail.com>"]
build = false
exclude = ["build.rs"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Indented document literals"
documentation = "https://docs.rs/indoc"
readme = "README.md"
keywords = [
    "heredoc",
    "nowdoc",
    "multiline",
    "string",
    "literal",
]
categories = [
    "rust-patterns",
    "text-processing",
    "no-std",
    "no-std::no-alloc",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dtolnay/indoc"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = [
    "--generate-link-to-definition",
    "--generate-macro-expansion",
    "--extern-html-root-url=core=https://doc.rust-lang.org",
    "--extern-html-root-url=alloc=https://doc.rust-lang.org",
    "--extern-html-root-url=std=https://doc.rust-lang.org",
    "--extern-html-root-url=proc_macro=https://doc.rust-lang.org",
]

[lib]
name = "indoc"
path = "src/lib.rs"
proc-macro = true

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

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

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

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

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

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

[dev-dependencies.rustversion]
version = "1.0"

[dev-dependencies.trybuild]
version = "1.0.108"
features = ["diff"]

[dev-dependencies.unindent]
version = "0.2.3"

[build-dependencies.rustversion]
version = "1.0"
