forked from transact-rs/sqlx
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathCargo.toml
More file actions
64 lines (58 loc) 路 1.8 KB
/
Copy pathCargo.toml
File metadata and controls
64 lines (58 loc) 路 1.8 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 = "sqlx-cli"
version = "0.6.56"
description = "Command-line utility for SQLx, the Rust SQL toolkit."
edition = "2021"
readme = "README.md"
homepage = "https://github.com/launchbadge/sqlx"
repository = "https://github.com/launchbadge/sqlx"
keywords = ["database", "postgres", "database-management", "migration"]
categories = ["database", "command-line-utilities"]
license = "MIT OR Apache-2.0"
default-run = "sqlx"
authors = [
"Jesper Axelsson <jesperaxe@gmail.com>",
"Austin Bonander <austin.bonander@gmail.com>",
]
publish = false
[[bin]]
name = "sqlx"
path = "src/bin/sqlx.rs"
# enables invocation as `cargo sqlx`; required for `prepare` subcommand
[[bin]]
name = "cargo-sqlx"
path = "src/bin/cargo-sqlx.rs"
[dependencies]
dotenvy = "0.15.0"
tokio = { version = "1.15.0", features = ["macros", "rt", "rt-multi-thread", "time"] }
sqlx = { package = "sqlx-oldapi", version = "0.6.56", path = "..", default-features = false, features = [
"migrate",
"any",
"offline",
] }
clap = { version = "4.5", features = ["derive", "env"] }
chrono = { version = "0.4.19", default-features = false, features = ["clock"] }
anyhow = "1.0.52"
url = { version = "2.2.2", default-features = false }
async-trait = "0.1.52"
console = "0.16"
promptly = "0.3.0"
serde_json = "1.0.73"
serde = { version = "1.0.132", features = ["derive"] }
glob = "0.3.0"
openssl = { version = "0.10.38", optional = true }
cargo_metadata = "0.23"
filetime = "0.2"
[features]
default = ["postgres", "sqlite", "mysql", "native-tls"]
rustls = ["sqlx/rustls"]
native-tls = ["sqlx/native-tls"]
runtime-actix-rustls = ["rustls"]
runtime-tokio-rustls = ["rustls"]
# databases
mysql = ["sqlx/mysql"]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]
mssql = ["sqlx/mssql"]
# workaround for musl + openssl issues
openssl-vendored = ["openssl/vendored"]