pay-respects/Cargo.toml

46 lines
1.2 KiB
TOML
Raw Normal View History

2023-07-30 18:40:18 +02:00
[package]
2023-08-05 03:22:05 +02:00
name = "pay-respects"
2024-11-22 11:30:30 +01:00
authors = ["iff <iff@ik.me>"]
2024-11-22 13:03:34 +01:00
version = "0.5.13"
2023-07-30 18:40:18 +02:00
edition = "2021"
# for crates.io
2024-11-19 18:45:19 +01:00
description = "Terminal command suggestion, alternative to thefuck written in Rust with AI support"
2024-11-16 15:54:42 +01:00
homepage = "https://codeberg.org/iff/pay-respects"
2024-09-18 23:29:51 +02:00
repository = "https://github.com/iffse/pay-respects"
keywords = ["cli", "terminal", "utility", "shell"]
categories = ["command-line-utilities"]
license = "AGPL-3.0"
include = [
"**/*.rs",
"**/*.toml",
]
2023-07-30 18:40:18 +02:00
[dependencies]
2024-11-22 10:49:24 +01:00
colored = "2"
sys-locale = "0.3"
2024-09-25 17:55:55 +02:00
rust-i18n = "3"
2023-08-01 19:35:22 +02:00
regex-lite = "0.1"
2023-08-02 03:05:25 +02:00
2024-11-18 20:45:02 +01:00
toml = { version = "0.8", optional = true }
2024-11-19 14:59:15 +01:00
serde_json = { version = "1.0", optional = true }
2024-11-15 15:43:04 +01:00
serde = { version = "1.0", features = ["derive"], optional = true }
2024-11-22 10:49:24 +01:00
curl = { version = "0.4", optional = true }
2024-11-19 21:16:34 +01:00
textwrap = { version = "0.16", features = ["terminal_size"], optional = true}
2024-11-15 15:43:04 +01:00
2024-11-20 22:25:52 +01:00
pay-respects-parser = "0.2.6"
2024-11-15 15:43:04 +01:00
# pay-respects-parser = { path = "../pay-respects-parser" }
[features]
runtime-rules = ["dep:serde", "dep:toml"]
2024-11-22 17:28:49 +01:00
request-ai = ["dep:serde", "dep:serde_json", "dep:textwrap"]
# linking to libcurl dynamically requires openssl when compiling and
# complicates cross compilation
libcurl = ["dep:curl"]
2024-09-25 17:55:55 +02:00
2023-08-02 03:05:25 +02:00
[profile.release]
strip = true
2023-08-06 00:33:08 +02:00
codegen-units = 1
lto = true