mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-14 00:07:05 +00:00
60 lines
1.6 KiB
TOML
60 lines
1.6 KiB
TOML
[package]
|
|
name = "sqlx-cli"
|
|
version = "0.5.5"
|
|
description = "Command-line utility for SQLx, the Rust SQL toolkit."
|
|
edition = "2018"
|
|
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"
|
|
tokio = { version = "1.0.1", features = ["macros", "rt", "rt-multi-thread"] }
|
|
sqlx = { version = "0.5.5", path = "..", default-features = false, features = [
|
|
"runtime-async-std-native-tls",
|
|
"migrate",
|
|
"any",
|
|
"offline",
|
|
] }
|
|
futures = "0.3"
|
|
clap = "=3.0.0-beta.2"
|
|
chrono = "0.4"
|
|
anyhow = "1.0"
|
|
url = { version = "2.1.1", default-features = false }
|
|
async-trait = "0.1.30"
|
|
console = "0.14.1"
|
|
dialoguer = "0.8.0"
|
|
serde_json = "1.0.53"
|
|
serde = { version = "1.0.110", features = ["derive"] }
|
|
glob = "0.3.0"
|
|
openssl = { version = "0.10.30", optional = true }
|
|
# workaround for https://github.com/rust-lang/rust/issues/29497
|
|
remove_dir_all = "0.7.0"
|
|
|
|
[features]
|
|
default = ["postgres", "sqlite", "mysql"]
|
|
|
|
# databases
|
|
mysql = ["sqlx/mysql"]
|
|
postgres = ["sqlx/postgres"]
|
|
sqlite = ["sqlx/sqlite"]
|
|
|
|
# workaround for musl + openssl issues
|
|
openssl-vendored = ["openssl/vendored"]
|