pixelsrc 0.2.0

Pixelsrc - GenAI-native pixel art format and compiler
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 = "2021"
name = "pixelsrc"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pixelsrc - GenAI-native pixel art format and compiler"
homepage = "https://github.com/scbrown/pixelsrc"
readme = "README.md"
keywords = [
    "pixel-art",
    "sprite",
    "gamedev",
    "genai",
    "wasm",
]
categories = [
    "graphics",
    "game-development",
    "wasm",
]
license = "MIT"
repository = "https://github.com/scbrown/pixelsrc"

[package.metadata.wasm-pack.profile.release]
wasm-opt = false

[package.metadata.wasm-pack.profile.dev]
wasm-opt = false

[features]
default = ["lsp"]
lsp = [
    "tower-lsp",
    "tokio",
]
wasm = [
    "wasm-bindgen",
    "console_error_panic_hook",
]

[lib]
name = "pixelsrc"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "pxl"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

[dependencies.atty]
version = "0.2"

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

[dependencies.console_error_panic_hook]
version = "0.1"
optional = true

[dependencies.glob]
version = "0.3"

[dependencies.image]
version = "0.24"

[dependencies.lightningcss]
version = "1.0.0-alpha.68"
features = ["serde"]
default-features = false

[dependencies.notify]
version = "6.1"

[dependencies.notify-debouncer-mini]
version = "0.4"

[dependencies.rayon]
version = "1.10"

[dependencies.regex]
version = "1.12.2"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "io-std",
]
optional = true

[dependencies.toml]
version = "0.8"

[dependencies.tower-lsp]
version = "0.20"
optional = true

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

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

[dev-dependencies.sha2]
version = "0.10"

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

[dev-dependencies.wasm-bindgen-test]
version = "0.3"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.3"
features = ["wasm_js"]

[lints.clippy]
cloned_ref_to_slice_refs = "allow"
dbg_macro = "warn"
derivable_impls = "allow"
doc_overindented_list_items = "allow"
field_reassign_with_default = "allow"
manual_range_contains = "allow"
match_like_matches_macro = "allow"
match_overlapping_arm = "allow"
needless_range_loop = "allow"
ptr_arg = "allow"
should_implement_trait = "allow"
todo = "warn"
too_many_arguments = "allow"
unnecessary_unwrap = "allow"
useless_vec = "allow"
vec_init_then_push = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true