# 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 = "mlbt"
version = "0.1.0"
authors = ["Andrew Schneider <andjschneider@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A terminal user interface for the MLB stats API. Watch a baseball game in your terminal! ⚾"
readme = "README.md"
keywords = [
    "baseball",
    "mlb",
    "terminal",
    "tui",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/mlb-rs/mlbt"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/mlbt-{ target }.tar.gz"
bin-dir = "mlbt{ binary-ext }"
pkg-fmt = "tgz"

[package.metadata.deb]
maintainer = "Andrew Schneider <andjschneider@gmail.com>"
section = "utils"

[[package.metadata.generate-rpm.assets]]
source = "target/release/mlbt"
dest = "/usr/bin/mlbt"
mode = "0755"

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

[dependencies.anyhow]
version = "1.0.100"

[dependencies.better-panic]
version = "0.3.0"

[dependencies.chrono]
version = "0.4.43"

[dependencies.chrono-tz]
version = "0.10.4"
features = ["serde"]

[dependencies.crossterm]
version = "0.29.0"

[dependencies.directories]
version = "6.0.0"

[dependencies.indexmap]
version = "2.13.0"

[dependencies.log]
version = "0.4.29"

[dependencies.mlbt-api]
version = "0.2.0"

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

[dependencies.tokio]
version = "1.49.0"
features = ["full"]

[dependencies.toml]
version = "0.9.8"

[dependencies.tui]
version = "0.30.0"
features = ["unstable-rendered-line-info"]
package = "ratatui"

[dependencies.tui-logger]
version = "0.18.1"
features = ["crossterm"]

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