-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
55 lines (47 loc) · 1.55 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
[package]
name = "geni"
version = "1.1.4"
edition = "2021"
resolver = "2"
description = "A standalone database CLI migration tool"
repository = "https://github.com/emilpriver/geni"
license = "MIT"
authors = ["Emil Privér"]
keywords = ["database", "migration", "cli"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "geni"
path = "src/lib/lib.rs"
# leaving bin.rs and bmod.rs in src/bin makes
# cargo treat the files as if bin.rs and bmod.rs
# as individual binaries.
[[bin]]
name = "geni"
path = "src/bin/geni/bin.rs"
[dependencies]
anyhow = "1.0.92"
async-trait = "0.1.83"
chrono = { version = "0.4.31", features = ["serde"] }
clap = { version = "4.5.20", features = ["env", "string", "derive", "cargo"] }
futures = "0.3.31"
serde = { version = "1.0.214", features = ["derive"] }
log = { version = "0.4.22", features = ["max_level_debug", "serde"] }
serde_json = "1.0.132"
serial_test = "3.1.1"
simplelog = "0.12.2"
tokio = { version = "1.41.0", features = ["full"] }
sqlx = { version = "0.8.2", features = ["runtime-tokio", "chrono", "postgres", "mysql", "time"] }
url = { version = "2.5.0", features = ["serde"] }
which = "7.0.0"
regex = "1.11.1"
libsql = "0.6.0"
[dev-dependencies]
mockall = "0.13.0"
tempfile = "3.13.0"
tempdir = "0.3.7"
[profile.release]
opt-level = 'z' # Optimize for size
lto = true # Enable link-time optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary*