-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
51 lines (43 loc) · 1.28 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
48
49
50
51
[package]
name = "criner-cli"
version = "0.4.0"
authors = ["Sebastian Thiel <[email protected]>"]
edition = "2018"
description = "A command-line interface for the 'Criner' crates mining platform"
license = "MIT"
repository = "https://github.com/the-lean-crate/criner"
readme = "README.md"
include = ["src/**/*", "LICENSE.md", "README.md", "CHANGELOG.md"]
[[bin]]
name = "criner"
path = "src/main.rs"
doctest = false
[features]
default = []
migration = ["criner/migration"]
[lib]
doctest = false
[dependencies]
clap = { version = "4.0.22", features = ["derive"] }
humantime = "2.1.0"
time = { version = "0.3.5", features = ["parsing", "macros" ] }
criner = { version = "^0.4.0", path = "./criner" }
env_logger = { version = "0.10.0", default-features = false, features = ["auto-color", "humantime"] }
[workspace]
members = ["criner", "criner-waste-report"]
# Turn on when needed to have faster debug builds
[profile.dev.package."*"]
debug = false
# We need fast regex for tests
[profile.test.package."*"]
debug = false
opt-level = 2
[profile.release]
# uncomment this when things stabilize - increase build times, but potentially make faster binaries
#lto = "fat"
#codegen-units = 1
incremental = false
opt-level = 3
panic = "abort"
overflow-checks = true
build-override = { opt-level = 0 }