# 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.0"
name = "rsnaker"
version = "0.2.0"
authors = ["RF"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A good old retro Snake in terminal UI"
documentation = "https://docs.rs/rsnaker"
readme = "README.md"
keywords = [
    "Ratatui",
    "TUI",
    "Snake",
    "Game",
    "retro",
]
categories = ["command-line-utilities"]
license = "GPL-3.0-only"
repository = "https://github.com/FromTheRags/rsnake"

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

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

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

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

[dependencies.crossterm]
version = "0.29"
features = ["events"]

[dependencies.rand]
version = "0.9"

[dependencies.ratatui]
version = "0.30.0"
features = ["unstable-widget-ref"]

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

[dependencies.sled]
version = "0.34"

[dependencies.toml]
version = "0.9"

[dependencies.toml_edit]
version = "0.2"

[dependencies.unicode-segmentation]
version = "1.12.0"

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

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

[dev-dependencies.tempfile]
version = "3"

[profile.profiling]
debug = 2
inherits = "release"

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