dampen-core 0.2.7

Core parser, IR, and traits for Dampen UI framework
Documentation
# 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.88"
name = "dampen-core"
version = "0.2.7"
authors = ["Mattdef <mattdef@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core parser, IR, and traits for Dampen UI framework"
documentation = "https://docs.rs/dampen-cli"
readme = "README.md"
keywords = [
    "ui",
    "iced",
    "declarative",
    "gui",
    "framework",
]
categories = [
    "gui",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mattdef/dampen"
resolver = "2"

[features]
codegen = []
default = []
interpreted = []

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.csscolorparser]
version = "0.6"

[dependencies.nom]
version = "7.1"

[dependencies.prettyplease]
version = "0.2"

[dependencies.proc-macro2]
version = "1.0"

[dependencies.quote]
version = "1.0"

[dependencies.roxmltree]
version = "0.19"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.syn]
version = "2.0"
features = [
    "full",
    "extra-traits",
]

[dependencies.thiserror]
version = "1.0"

[dev-dependencies.criterion]
version = "0.5"

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

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

[lints.clippy]
dbg_macro = "warn"
expect_used = "deny"
panic = "deny"
print_stderr = "warn"
print_stdout = "warn"
todo = "warn"
unwrap_used = "deny"

[lints.rust]
dead_code = "warn"
unused = "warn"
unused_imports = "warn"
unused_mut = "warn"
unused_variables = "warn"