pixel2char 0.1.0

A tool to convert images to ASCII art, available as a library, WASM module, and CLI.
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"
name = "pixel2char"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tool to convert images to ASCII art, available as a library, WASM module, and CLI."
readme = "README.md"
keywords = [
    "image",
    "ascii",
    "cli",
    "wasm",
]
categories = [
    "command-line-utilities",
    "multimedia::images",
    "wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/AndPuQing/pixel2char"

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

[features]
cli = [
    "clap",
    "anyhow",
    "colored",
]
default = ["wasm"]
wasm = [
    "wasm-bindgen",
    "serde-wasm-bindgen",
    "console_error_panic_hook",
]

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

[[bin]]
name = "pixel2char-cli"
path = "src/main.rs"
required-features = ["cli"]

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

[dependencies.anyhow]
version = "1.0.86"
optional = true

[dependencies.clap]
version = "4.5.11"
features = ["derive"]
optional = true

[dependencies.colored]
version = "2.1.0"
optional = true

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

[dependencies.image]
version = "0.25.6"

[dependencies.imageproc]
version = "0.25.0"

[dependencies.rayon]
version = "1.10.0"

[dependencies.serde]
version = "1.0.219"
features = ["serde_derive"]

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

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

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

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

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true