# 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"
name = "romm-cli"
version = "1.0.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust-based CLI for the RomM API"
readme = "cli.md"
keywords = [
    "romm",
    "terminal",
    "tui",
    "emulator",
    "games",
]
categories = [
    "command-line-utilities",
    "emulators",
]
license = "MIT"
repository = "https://github.com/patricksmill/romm-cli"

[lib]
name = "romm_cli"
path = "src/lib.rs"

[[bin]]
name = "romm-cli"
path = "src/main.rs"

[[bin]]
name = "romm-complete-gen"
path = "src/bin/generate_completions.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.clap_complete]
version = "4.5"

[dependencies.dialoguer]
version = "0.12"
features = ["password"]
default-features = false

[dependencies.dirs]
version = "6.0"

[dependencies.indicatif]
version = "0.18.4"

[dependencies.md5]
version = "0.8"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "multipart",
    "query",
    "rustls",
    "http2",
]
default-features = false

[dependencies.romm-api]
version = "1.0"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = ["formatting"]

[dependencies.tokio]
version = "1.37"
features = [
    "macros",
    "rt-multi-thread",
    "fs",
    "io-util",
    "time",
    "signal",
]

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]

[dependencies.zip]
version = "8.5.1"

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.httpmock]
version = "0.7"

[dev-dependencies.predicates]
version = "3.1"

[dev-dependencies.wiremock]
version = "0.6.5"
