blockpedia 0.1.9

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

[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]
name = "blockpedia"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[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"

[dependencies.anyhow]
version = "1.0"

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

[dependencies.fastnbt]
version = "2.6.0"

[dependencies.flate2]
version = "1.1.5"

[dependencies.image]
version = "0.24"

[dependencies.palette]
version = "0.7"

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

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

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

[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"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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