# 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.75"
name = "renderreport"
version = "0.2.21"
authors = ["Casoon <info@casoon.de>"]
build = "build.rs"
exclude = [
    "target/",
    ".github/",
    "docs/",
    "fixtures/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Data-driven report generation with Typst as embedded render engine — no CLI dependency"
homepage = "https://renderreport.casoon.dev"
documentation = "https://docs.rs/renderreport"
readme = "README.md"
keywords = [
    "report",
    "pdf",
    "typst",
    "audit",
    "generator",
]
categories = [
    "text-processing",
    "rendering",
    "template-engine",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/casoon/renderreport"

[features]
cli = ["clap"]
default = []

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

[[bin]]
name = "renderreport"
path = "src/bin/renderreport.rs"
required-features = ["cli"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.barcoders]
version = "2.0"

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

[dependencies.clap]
version = "4.0"
features = ["derive"]
optional = true

[dependencies.comemo]
version = "0.4"

[dependencies.datamatrix]
version = "0.3"

[dependencies.fontdb]
version = "0.22"

[dependencies.inventory]
version = "0.3"

[dependencies.qrcode]
version = "0.14"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.toml]
version = "0.8"

[dependencies.typst]
version = "0.13"

[dependencies.typst-pdf]
version = "0.13"

[dependencies.typst-syntax]
version = "0.13"

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

[dev-dependencies.insta]
version = "1.0"
features = ["json"]

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

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

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
