# 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 = "cliard24"
version = "0.1.2"
authors = ["Expien1 <lzhao2077@qq.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "cliard24 is a command-line 24-point card game. It provides two main functions: the game mode allows you to play the classic 24-point game interactively in the terminal, where you randomly draw 4 cards and use addition, subtraction, multiplication, division, and parentheses to reach 24; the solve mode lets you input any combination of numbers and a target value to calculate all possible expression solutions. The tool supports customizable attempt limits, endless mode, solution count limits, and mixed input of card letters (A/J/Q/K) and numbers."
documentation = "https://docs.rs/cliard24"
readme = "README.md"
keywords = [
"24-point",
"cli",
"math-puzzle",
"solver",
"expression",
]
categories = [
"command-line-utilities",
"games",
]
license = "Apache-2.0"
repository = "https://github.com/Expien1/cliard24"
[lib]
name = "cliard24"
path = "src/lib.rs"
[[bin]]
name = "cliard24"
path = "src/main.rs"
[dependencies.clap]
version = "4.5.60"
features = ["derive"]
[dependencies.rand]
version = "0.10.0"
[dependencies.thiserror]
version = "2.0.18"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"