-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
47 lines (40 loc) · 1.13 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[package]
name = "hex"
version = "0.0.0"
authors = ["Shayne Hartford <[email protected]>"]
edition = "2021"
description = "Playing with colors"
readme = "README.md"
repository = "https://github.com/ShayBox/Hex"
license = "MIT"
keywords = ["discord", "bot"]
categories = ["command-line-utilities"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1"
csscolorparser = { git = "https://github.com/Shays-Forks/csscolorparser-rs.git", features = ["lab", "rust-rgb", "cint", "serde"] }
# csscolorparser = "0.6"
dotenvy = { version = "0.15", optional = true }
poise = "0.6"
random_color = "0.8"
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.3"
[features]
default = ["dotenv"]
dotenv = ["dotenvy"]
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3
# https://github.com/johnthagen/min-sized-rust
[profile.release]
strip = true # Automatically strip symbols from the binary.
opt-level = "z" # Optimize for size.
lto = true
codegen-units = 1
panic = "abort"
[lints.clippy]
pedantic = "warn"
nursery = "warn"
cargo = "warn"