# 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 = "rs-grid-scene"
version = "0.2.8"
authors = ["Benoit Podwinski <b.podwinski@faure-technologies.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Scene graph: converts GridState into renderer-agnostic primitives"
homepage = "https://rs-grid.com"
documentation = "https://rs-grid.com/getting-started.html"
readme = "README.md"
keywords = [
    "grid",
    "scene-graph",
    "renderer",
    "canvas",
    "primitives",
]
categories = [
    "graphics",
    "rendering",
]
license = "MIT"
repository = "https://github.com/ruxelion/rs-grid"
resolver = "2"

[features]
serde = [
    "dep:serde",
    "dep:serde_json",
]

[lib]
name = "rs_grid_scene"
path = "src/lib.rs"
bench = false

[[bin]]
name = "generate-theme"
path = "src/bin/generate_theme.rs"
bench = false

[[bin]]
name = "scene-dump"
path = "src/bin/scene_dump.rs"
bench = false
required-features = ["serde"]

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

[[bench]]
name = "scene_builder"
path = "benches/scene_builder.rs"
harness = false

[[bench]]
name = "scroll_frame"
path = "benches/scroll_frame.rs"
harness = false

[dependencies.rs-grid-core]
version = "0.4.0"

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

[dependencies.serde_json]
version = "1"
optional = true

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

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