mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-03 07:45:30 +00:00

* fix(cli): change new `rustls` and `native-tls` features to use correct runtime feature
* chore: upgrade SQLx crates to 0.5.10, upgrade all dependencies to latest versions
chore(cli): upgraded `clap` to `3.0.0-rc.9`
* fix(tests/sqlite): ignore `issue_1467()` as spuriously failing
I'm well aware of the principle that a spuriously failing test is a failing test, but even though I have it outputting the seed used with a reproducible PRNG, I can't reproduce the failures locally, so 🤷.
* chore: add CHANGELOG entry for 0.5.10
15 lines
325 B
Rust
15 lines
325 B
Rust
use clap::Parser;
|
|
use console::style;
|
|
use dotenv::dotenv;
|
|
use sqlx_cli::Opt;
|
|
|
|
#[tokio::main]
|
|
async fn main() {
|
|
dotenv().ok();
|
|
// no special handling here
|
|
if let Err(error) = sqlx_cli::run(Opt::parse()).await {
|
|
println!("{} {}", style("error:").bold().red(), error);
|
|
std::process::exit(1);
|
|
}
|
|
}
|