-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
61 lines (49 loc) · 1.36 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
52
53
54
55
56
57
58
59
60
61
[package]
name = "bear2reflect"
version = "0.2.0"
edition = "2021"
[dependencies]
clap-verbosity-flag = "2.2.0"
env_logger = "0.11.3"
futures = "0.3.30"
Inflector = "0.11.4"
log = "0.4"
r2d2 = "0.8.10"
regex = "1.10.4"
serde_json = "1.0"
anyhow = "1.0.86"
shellexpand = "3.1.0"
r3bl_tuify = "0.1.26"
r3bl_rs_utils_core = "0.9.13"
dotenv = { version = "0.15.0"}
[dependencies.chrono]
version = "0.4.38"
features = [ "serde" ]
[dependencies.clap]
version = "4.5.4"
features = [ "derive" ]
[dependencies.diesel]
version = "2.0.0"
features = [ "sqlite", "64-column-tables", "chrono", "r2d2" ]
[dependencies.reqwest]
version = "0.12.4"
features = [ "json" ]
[dependencies.serde]
version = "1.0"
features = [ "derive" ]
[dependencies.tokio]
version = "1"
features = ["rt-multi-thread", "macros", "sync"]
[profile.release]
opt-level = "s" # Optimize for size. Use "s" if you prefer speed over size.
lto = true # Enable Link Time Optimization
codegen-units = 1 # Better optimization at the cost of longer compile time
debug = 0 # Do not include debug symbols
[profile.dev]
opt-level = 0 # Keep it 0 for faster build times during development
[build]
target = ["x86_64-apple-darwin", "aarch64-apple-darwin"]
[target.x86_64-apple-darwin]
rustflags = ["-C", "target-cpu=native"]
[target.aarch64-apple-darwin]
rustflags = ["-C", "target-cpu=native"]