-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
30 lines (26 loc) · 1.05 KB
/
Cargo.toml
File metadata and controls
30 lines (26 loc) · 1.05 KB
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
[package]
name = "migrator"
description = "A simple library for managing database migrations"
version = "0.2.1"
license = "MIT"
homepage = "https://github.com/TheHackerApp/migrator"
repository = "https://github.com/TheHackerApp/migrator.git"
edition = "2021"
publish = ["wafflehacks"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "migrate"
required-features = ["cli"]
[dependencies]
chrono = "0.4"
clap = { version = "4.4", features = ["derive", "env"], optional = true }
color-eyre = { version = "0.6", optional = true }
dotenvy = { version = "0.15", optional = true }
eyre = { version = "0.6", optional = true }
hex = "0.4"
logging = { version = "0.3", registry = "wafflehacks", optional = true }
sqlx = { version = "0.7", default-features = false, features = ["migrate", "postgres", "runtime-tokio", "tls-rustls"] }
tokio = { version = "1", features = ["macros", "rt", "rt-multi-thread"], optional = true }
tracing = "0.1"
[features]
cli = ["clap", "color-eyre", "dotenvy", "eyre", "logging", "tokio"]