blockpedia 0.1.8

A comprehensive Rust library for Minecraft block data with advanced color analysis and palette generation
Documentation
[[bin]]
name = "blockpedia-cli"
path = "src/bin/cli.rs"
required-features = ["tui"]

[[bin]]
name = "build-data"
path = "src/bin/build-data.rs"
required-features = ["build-data"]

[[bin]]
name = "download-textures"
path = "src/bin/download-textures.rs"
required-features = ["network"]

[[bin]]
name = "list-sources"
path = "src/bin/list-sources.rs"

[[bin]]
name = "missing-colors"
path = "src/bin/missing-colors.rs"

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

[[bin]]
name = "test-cli-colors"
path = "src/bin/test-cli-colors.rs"

[[bin]]
name = "test-colors"
path = "src/bin/test-colors.rs"

[build-dependencies.anyhow]
version = "1.0"

[build-dependencies.image]
version = "0.24"

[build-dependencies.phf_codegen]
version = "0.11"

[build-dependencies.reqwest]
features = ["blocking", "json"]
optional = true
version = "0.12"

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

[build-dependencies.serde_json]
version = "1.0"

[build-dependencies.tokio]
features = ["rt", "rt-multi-thread"]
optional = true
version = "1.0"

[dependencies.anyhow]
version = "1.0"

[dependencies.crossterm]
optional = true
version = "0.27"

[dependencies.fastnbt]
version = "2.6.0"

[dependencies.flate2]
version = "1.1.5"

[dependencies.image]
version = "0.24"

[dependencies.palette]
version = "0.7"

[dependencies.phf]
features = ["macros"]
version = "0.11"

[dependencies.ratatui]
optional = true
version = "0.25"

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

[dependencies.serde_bytes]
version = "0.11.19"

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

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

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

[features]
build-data = ["dep:reqwest", "dep:tokio"]
default = ["tui"]
network = ["dep:tokio", "dep:reqwest"]
tui = ["dep:ratatui", "dep:crossterm"]
use-prebuilt = []
wasm = ["dep:wasm-bindgen", "dep:web-sys", "dep:js-sys", "dep:console_error_panic_hook", "dep:wee_alloc", "dep:serde-wasm-bindgen"]

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

[package]
authors = ["Nano nano@schem.at"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["game-development", "graphics", "data-structures"]
description = "A comprehensive Rust library for Minecraft block data with advanced color analysis and palette generation"
edition = "2021"
exclude = ["web/*", ".github/*", "examples/*", "tests/*", "assets/textures/*"]
homepage = "https://github.com/Nano112/blockpedia"
keywords = ["minecraft", "blocks", "color", "palette", "gamedev"]
license = "MIT"
name = "blockpedia"
readme = "README.md"
repository = "https://github.com/Nano112/blockpedia"
rust-version = "1.82"
version = "0.1.8"

[target.'cfg(not(target_arch = "wasm32"))'.build-dependencies.reqwest]
features = ["blocking", "json"]
optional = true
version = "0.12"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
features = ["blocking", "json"]
optional = true
version = "0.12"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
features = ["rt", "rt-multi-thread", "macros", "time"]
optional = true
version = "1.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
optional = true
version = "0.1"

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
optional = true
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen]
optional = true
version = "0.6"

[target.'cfg(target_arch = "wasm32")'.dependencies.tokio]
features = ["rt", "macros", "time"]
version = "1.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
optional = true
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
features = ["console"]
optional = true
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.wee_alloc]
optional = true
version = "0.4"