mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 14:34:19 +00:00
50 lines
1.3 KiB
TOML
50 lines
1.3 KiB
TOML
[package]
|
|
name = "sqlx-cli"
|
|
version = "0.1.0-pre"
|
|
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 = "0.2", features = ["macros"] }
|
|
sqlx = { version = "0.4.0-pre", path = "..", default-features = false, features = [ "runtime-tokio", "offline" ] }
|
|
futures = "0.3"
|
|
structopt = "0.3"
|
|
chrono = "0.4"
|
|
anyhow = "1.0"
|
|
url = { version = "2.1.1", default-features = false }
|
|
async-trait = "0.1.30"
|
|
console = "0.10.0"
|
|
dialoguer = "0.5.0"
|
|
serde_json = { version = "1.0.53", features = ["preserve_order"] }
|
|
serde = "1.0.110"
|
|
glob = "0.3.0"
|
|
cargo_metadata = "0.10.0"
|
|
|
|
[features]
|
|
default = [ "postgres", "sqlite", "mysql" ]
|
|
|
|
# database
|
|
mysql = [ "sqlx/mysql" ]
|
|
postgres = [ "sqlx/postgres" ]
|
|
sqlite = [ "sqlx/sqlite" ]
|