-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
47 lines (41 loc) · 1.05 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 = "rust-template"
version = "0.1.0"
edition = "2021"
readme = "README.md"
authors = ["Oliver Chalk"]
license = "MIT OR Apache-2.0"
[lints.clippy]
arithmetic_side_effects = "warn"
# See `clippy.toml`.
disallowed_methods = "warn"
match_bool = "allow"
missing_const_for_fn = "warn"
module_name_repetitions = "allow"
pedantic = { level = "warn", priority = -1 }
trivially_copy_pass_by_ref = "warn"
[dependencies]
clap = { version = "4.2.7", features = ["derive"] }
clap_complete = "4.3.0"
dotenvy = "0.15.7"
tokio = { version = "1.28.2", features = ["full"] }
tokio-util = "0.7.10"
toolbox = { git = "https://github.com/OliverNChalk/toolbox-rs.git", version = "0.1.0", features = [
"tracing",
"version",
] }
tracing = "0.1.37"
[build-dependencies]
vergen = { version = "8.2.1", features = ["build", "git", "git2", "rustc", "cargo"] }
[profile.release]
opt-level = 3
debug = true
[profile.paranoid]
inherits = "release"
overflow-checks = true
debug-assertions = true
[profile.performance]
inherits = "release"
lto = "fat"
codegen-units = 1
incremental = false