sqlx/sqlx-cli/Cargo.toml
LovecraftianHorror 2c67e2a29e
Try avoiding a full clean in cargo sqlx prepare --merged (#1802)
* refactor(sqlx-cli): Try avoiding a full clean with `--merged`

* docs(sqlx-cli): Sprinkle some comments on the metadata changes

* refactor(sqlx-cli): Make the new recompiltion setup unit-testable

* fix(sqlx-cli): Only pass in `$RUSTFLAGS` when set when using `--merged`

* refactor(sqlx-cli): `cargo clean -p` works by name so rip out pkgid code

* chore(sqlx-cli): Remove unused imports
2022-07-12 14:29:41 -07:00

66 lines
1.8 KiB
TOML

[package]
name = "sqlx-cli"
version = "0.6.0"
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>",
]
[[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]
dotenv = "0.15.0"
tokio = { version = "1.15.0", features = ["macros", "rt", "rt-multi-thread"] }
sqlx = { version = "0.6.0", path = "..", default-features = false, features = [
"migrate",
"any",
"offline",
] }
futures = "0.3.19"
clap = { version = "3.1.0", features = ["derive", "env"] }
chrono = "0.4.19"
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 }
# workaround for https://github.com/rust-lang/rust/issues/29497
remove_dir_all = "0.7.0"
cargo_metadata = "0.14"
filetime = "0.2"
backoff = { version = "0.4.0", features = ["futures", "tokio"] }
[features]
default = ["postgres", "sqlite", "mysql", "native-tls"]
rustls = ["sqlx/runtime-tokio-rustls"]
native-tls = ["sqlx/runtime-tokio-native-tls"]
# databases
mysql = ["sqlx/mysql"]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]
# workaround for musl + openssl issues
openssl-vendored = ["openssl/vendored"]