sqlx/sqlx-cli/Cargo.toml

56 lines
1.6 KiB
TOML
Raw Normal View History

2020-03-29 07:39:59 +00:00
[package]
name = "sqlx-cli"
2021-02-04 17:16:11 +00:00
version = "0.5.1"
description = "Command-line utility for SQLx, the Rust SQL toolkit."
2020-03-29 07:39:59 +00:00
edition = "2018"
readme = "README.md"
2020-03-29 07:51:42 +00:00
homepage = "https://github.com/launchbadge/sqlx"
repository = "https://github.com/launchbadge/sqlx"
2020-05-31 06:12:53 +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>",
"Austin Bonander <austin.bonander@gmail.com>"
]
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]
dotenv = "0.15"
tokio = { version = "1.0.1", features = ["macros", "rt", "rt-multi-thread"] }
2021-02-04 17:16:11 +00:00
sqlx = { version = "0.5.1", path = "..", default-features = false, features = [ "runtime-async-std-native-tls", "migrate", "any", "offline" ] }
2020-04-07 22:55:06 +00:00
futures = "0.3"
clap = "=3.0.0-beta.2"
2020-03-29 07:39:59 +00:00
chrono = "0.4"
2020-04-10 10:56:12 +00:00
anyhow = "1.0"
url = { version = "2.1.1", default-features = false }
async-trait = "0.1.30"
2020-07-24 14:43:56 +00:00
console = "0.11.3"
dialoguer = "0.7.1"
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.6.0"
2020-04-16 13:05:32 +00:00
[features]
2020-04-18 10:37:14 +00:00
default = [ "postgres", "sqlite", "mysql" ]
2020-04-16 13:05:32 +00:00
# databases
2020-04-16 13:05:32 +00:00
mysql = [ "sqlx/mysql" ]
postgres = [ "sqlx/postgres" ]
sqlite = [ "sqlx/sqlite" ]
# workaround for musl + openssl issues
openssl-vendored = [ "openssl/vendored" ]