# 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.90"
name = "tomocli"
version = "1.8.0"
authors = ["Alexis LOURS"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line tool for working with Tomodachi Life data formats."
homepage = "https://github.com/alexislours/tomo"
readme = "README.md"
keywords = [
    "tomodachi-life",
    "nintendo",
    "switch",
    "modding",
]
categories = [
    "command-line-utilities",
    "parser-implementations",
    "encoding",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/alexislours/tomo"

[features]
default = ["image-encode-gpu"]
image-encode-gpu = ["tomolib/image-encode-gpu"]

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.base64]
version = "0.22.1"

[dependencies.clap]
version = "4.6.1"
features = [
    "derive",
    "wrap_help",
    "env",
]

[dependencies.clap_complete]
version = "4.6.5"

[dependencies.indicatif]
version = "0.18.4"

[dependencies.itoa]
version = "1.0.18"

[dependencies.owo-colors]
version = "4.3.0"
features = ["supports-colors"]

[dependencies.rayon]
version = "1.12.0"

[dependencies.ryu]
version = "1.0.23"

[dependencies.saphyr]
version = "0.0.6"

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

[dependencies.serde_json]
version = "1.0.150"
features = ["preserve_order"]

[dependencies.tabled]
version = "0.20"
features = ["ansi"]

[dependencies.tomolib]
version = "1.6.0"
features = ["image"]

[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"

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

[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
