sqlx/sqlx-cli/Cargo.toml

71 lines
1.9 KiB
TOML
Raw Normal View History

2020-03-29 07:39:59 +00:00
[package]
name = "sqlx-cli"
2023-02-21 21:34:42 +00:00
version.workspace = true
description = "Command-line utility for SQLx, the Rust SQL toolkit."
edition = "2021"
2020-03-29 07:39:59 +00:00
readme = "README.md"
2020-03-29 07:51:42 +00:00
homepage = "https://github.com/launchbadge/sqlx"
repository = "https://github.com/launchbadge/sqlx"
2021-04-16 01:38:50 +00:00
keywords = ["database", "postgres", "database-management", "migration"]
categories = ["database", "command-line-utilities"]
license = "MIT OR Apache-2.0"
default-run = "sqlx"
2020-05-31 06:12:53 +00:00
authors = [
"Jesper Axelsson <jesperaxe@gmail.com>",
2021-04-16 01:38:50 +00:00
"Austin Bonander <austin.bonander@gmail.com>",
2020-05-31 06:12:53 +00:00
]
2020-03-29 07:39:59 +00:00
[[bin]]
name = "sqlx"
path = "src/bin/sqlx.rs"
2020-03-29 07:39:59 +00:00
# enables invocation as `cargo sqlx`; required for `prepare` subcommand
[[bin]]
name = "cargo-sqlx"
path = "src/bin/cargo-sqlx.rs"
2020-03-29 07:39:59 +00:00
[dependencies]
dotenvy = "0.15.0"
tokio = { version = "1.15.0", features = ["macros", "rt", "rt-multi-thread"] }
sqlx = { workspace = true, default-features = false, features = [
"runtime-tokio",
2021-04-16 01:38:50 +00:00
"migrate",
"any",
] }
futures = "0.3.19"
2023-07-09 20:13:43 +00:00
clap = { version = "4.3.10", features = ["derive", "env"] }
clap_complete = { version = "4.3.1", optional = true }
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.15.0"
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.18.1"
filetime = "0.2"
2020-04-16 13:05:32 +00:00
backoff = { version = "0.4.0", features = ["futures", "tokio"] }
2020-04-16 13:05:32 +00:00
[features]
default = ["postgres", "sqlite", "mysql", "native-tls", "completions"]
rustls = ["sqlx/runtime-tokio-rustls"]
native-tls = ["sqlx/runtime-tokio-native-tls"]
2020-04-16 13:05:32 +00:00
# databases
mysql = ["sqlx/mysql"]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]
# workaround for musl + openssl issues
2021-04-16 01:38:50 +00:00
openssl-vendored = ["openssl/vendored"]
completions = ["dep:clap_complete"]
[dev-dependencies]
assert_cmd = "2.0.11"
tempfile = "3.10.1"