# 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 = "coretilus"
version = "0.4.0"
authors = ["Thibault Cohen <dev@ttb.lt>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A parody of GNU Coreutils — a playful collection of typo-triggered command-line tools written in Rust"
homepage = "https://github.com/titilambert/coretilus"
documentation = "https://docs.rs/coretilus"
readme = "README.md"
keywords = [
    "cli",
    "terminal",
    "typo",
    "fun",
    "humor",
]
categories = [
    "command-line-interface",
    "games",
]
license = "Apache-2.0"
repository = "https://github.com/titilambert/coretilus"

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

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

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

[[bin]]
name = "dog"
path = "src/bin/dog.rs"

[[bin]]
name = "gti"
path = "src/bin/gti.rs"

[[bin]]
name = "mr"
path = "src/bin/mr.rs"

[[bin]]
name = "pc"
path = "src/bin/pc.rs"

[[bin]]
name = "sl"
path = "src/bin/sl.rs"

[dependencies.crossterm]
version = "0.27"

[dependencies.rand]
version = "0.9.2"

[dependencies.regex]
version = "1.12.2"

[dependencies.terminal_size]
version = "0.4.3"

[dependencies.uuid]
version = "1.18.1"
features = ["v4"]

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