-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
64 lines (58 loc) · 1.71 KB
/
Copy pathCargo.toml
File metadata and controls
64 lines (58 loc) · 1.71 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
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
62
63
64
[package]
name = "dbdiff"
version = "0.2.1"
edition = "2021"
rust-version = "1.75"
authors = ["rekurt"]
description = "Compare database schemas, detect drift, and generate migrations"
license = "MIT"
repository = "https://github.com/rekurt/dbdiff"
homepage = "https://github.com/rekurt/dbdiff"
readme = "README.md"
keywords = ["database", "schema", "diff", "migration", "postgresql"]
categories = ["command-line-utilities", "database"]
exclude = [
".github/",
"tests/fixtures/",
"benches/",
"doc/",
".editorconfig",
"deny.toml",
"cliff.toml",
]
[[bin]]
name = "dbdiff"
path = "src/main.rs"
[features]
default = ["postgres", "mysql", "sqlite"]
postgres = ["dep:tokio-postgres", "dep:postgres-native-tls", "dep:native-tls"]
mysql = ["dep:mysql_async"]
sqlite = ["dep:rusqlite"]
vendored-tls = ["dep:openssl"]
[dependencies]
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "time"] }
tokio-postgres = { version = "0.7", optional = true }
postgres-native-tls = { version = "0.5", optional = true }
native-tls = { version = "0.2", optional = true }
mysql_async = { version = "0.34", optional = true }
openssl = { version = "0.10", features = ["vendored"], optional = true }
rusqlite = { version = "0.39", features = ["bundled"], optional = true }
colored = "3"
indicatif = "0.18"
regex = "1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
[dev-dependencies]
assert_cmd = "2"
predicates = "3"
tempfile = "3"
[profile.release]
opt-level = 3
lto = "thin"
strip = true
codegen-units = 1
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }{ archive-suffix }"