# 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.85.1"
name = "image_to_console_core"
version = "0.2.2"
authors = ["yyxxryrx <yyxxryrx@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple Rust library for converting images to terminal ASCII art, supporting multiple image formats and terminal output methods"
homepage = "https://github.com/yyxxryrx/image_to_console"
readme = "README.md"
keywords = [
    "image",
    "terminal",
    "console",
]
categories = ["multimedia::images"]
license = "MIT"
repository = "https://github.com/yyxxryrx/image_to_console"
resolver = "2"

[features]
all = [
    "sixel",
    "clap_support",
    "auto_select",
    "crossterm",
]
auto_select = []
clap_support = ["clap"]
default = ["sixel"]
sixel = [
    "quantette",
    "nohash-hasher",
]

[lib]
name = "image_to_console_core"
crate-type = ["lib"]
path = "src/lib.rs"

[[example]]
name = "basic-example"
path = "examples/basic-example.rs"

[[example]]
name = "converter-example"
path = "examples/converter-example.rs"

[[example]]
name = "option-example-builder"
path = "examples/option-example-builder.rs"

[[example]]
name = "option-example-chained"
path = "examples/option-example-chained.rs"

[[example]]
name = "process-image-example"
path = "examples/process-image-example.rs"

[[example]]
name = "process-image-example-with-option"
path = "examples/process-image-example-with-option.rs"

[[example]]
name = "process-image-exmaples-vec-with-option"
path = "examples/process-images-example-vec-with-option.rs"

[[example]]
name = "process-images-example"
path = "examples/process-images-example.rs"

[[example]]
name = "process-images-example-vec"
path = "examples/process-images-example-vec.rs"

[[example]]
name = "process-images-example-vec-for_each"
path = "examples/process-images-example-vec-for_each.rs"

[[example]]
name = "process-images-example-vec-map"
path = "examples/process-images-example-vec-map.rs"

[[example]]
name = "process-images-example-vec-var-for_each"
path = "examples/process-images-example-vec-var-for_each.rs"

[[example]]
name = "process-images-example-vec-var-map"
path = "examples/process-images-example-vec-var-map.rs"

[[example]]
name = "process-images-example-with-option"
path = "examples/process-images-example-with-option.rs"

[[example]]
name = "process-images-example2"
path = "examples/process-images-example2.rs"

[[example]]
name = "process-images-example2-vec"
path = "examples/process-images-example2-vec.rs"

[[example]]
name = "process-images-example2-vec-mut"
path = "examples/process-images-example2-vec-mut.rs"

[[example]]
name = "process-images-example2-vec-nothing"
path = "examples/process-images-example2-vec-nothing.rs"

[[example]]
name = "process-images-example2-vec-with-options"
path = "examples/process-images-example2-vec-with-options.rs"

[[example]]
name = "process-images-example2-with-options"
path = "examples/process-images-example2-with-options.rs"

[[example]]
name = "process-images-nothing"
path = "examples/process-images-nothing.rs"

[[example]]
name = "protocol-example-builder"
path = "examples/protocol-example-builder.rs"

[[example]]
name = "protocol-example-chained"
path = "examples/protocol-example-chained.rs"

[[example]]
name = "resize-example-with-AutoResize"
path = "examples/resize-example-with-AutoResize.rs"

[[example]]
name = "resize-example-with-AutoResize2"
path = "examples/resize-example-with-AutoResize2.rs"

[[example]]
name = "resize-example-with-CustomResize"
path = "examples/resize-example-with-CustomResize.rs"

[[example]]
name = "resize-example-with-CustomResize-with_height"
path = "examples/resize-example-with-CustomResize-with_height.rs"

[[example]]
name = "resize-example-with-CustomResize-with_width"
path = "examples/resize-example-with-CustomResize-with_width.rs"

[[example]]
name = "resize-example-with-None"
path = "examples/resize-example-with-None.rs"

[[example]]
name = "show-image-with-option"
path = "examples/show-image-with-option.rs"

[[example]]
name = "show-images"
path = "examples/show-images.rs"

[[example]]
name = "show-images-vec"
path = "examples/show-images-vec.rs"

[[example]]
name = "show-images-vec-with-option"
path = "examples/show-images-vec-with-option.rs"

[[example]]
name = "show-images-with-option"
path = "examples/show-images-with-option.rs"

[[example]]
name = "simple-example"
path = "examples/simple-example.rs"

[[example]]
name = "simple-example-default"
path = "examples/simple-example-default.rs"

[[example]]
name = "simple-example-iterm"
path = "examples/simple-example-iterm.rs"

[[example]]
name = "simple-example-kitty"
path = "examples/simple-example-kitty.rs"

[[example]]
name = "simple-example2"
path = "examples/simple-example2.rs"

[[example]]
name = "simple-example3"
path = "examples/simple-example3.rs"

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

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

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

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

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

[dependencies.base64]
version = "0.22.1"

[dependencies.clap]
version = "4.5.51"
features = ["std"]
optional = true
default-features = false

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

[dependencies.gif]
version = "0.13.3"
optional = true

[dependencies.image]
version = "0.25.8"
features = [
    "png",
    "jpeg",
]
default-features = false

[dependencies.nohash-hasher]
version = "0.2.0"
optional = true

[dependencies.num_cpus]
version = "1.17.0"

[dependencies.quantette]
version = "0.3.0"
optional = true

[dependencies.rayon]
version = "1.11.0"

[dependencies.terminal_size]
version = "0.4.3"

[dev-dependencies.image]
version = "0.25.8"
