# 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"
rust-version = "1.85.0"
name = "report-leptos"
version = "0.8.16"
authors = ["Loctree <loct@loct.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Leptos SSR renderer for generating static HTML reports - beautiful, interactive, type-safe"
homepage = "https://github.com/Loctree/Loctree"
documentation = "https://docs.rs/report-leptos"
readme = "README.md"
keywords = [
    "leptos",
    "ssr",
    "html",
    "report",
    "static-site",
]
categories = [
    "web-programming",
    "template-engine",
    "visualization",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Loctree/Loctree"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []

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

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

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

[dependencies.leptos]
version = "0.8"
features = ["ssr"]
default-features = false

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

[dependencies.serde_json]
version = "1"

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