mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-23 10:38:57 +00:00
rename cargo-sqlx -> sqlx-cli
edit README
This commit is contained in:
committed by
Ryan Leckey
parent
a44e29c84c
commit
7dae3dbf57
49
sqlx-cli/Cargo.toml
Normal file
49
sqlx-cli/Cargo.toml
Normal file
@@ -0,0 +1,49 @@
|
||||
[package]
|
||||
name = "sqlx-cli"
|
||||
version = "0.0.1"
|
||||
description = "Command-line utility for SQLx, the Rust SQL toolkit."
|
||||
authors = [
|
||||
"Jesper Axelsson <jesperaxe@gmail.com>",
|
||||
"Austin Bonander <austin.bonander@gmail.com>" # austin@launchbadge.com
|
||||
]
|
||||
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"]
|
||||
default-run = "sqlx"
|
||||
|
||||
[[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.3", 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" ]
|
||||
Reference in New Issue
Block a user