mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 15:25:32 +00:00
Prepare 0.5.10 release (#1603)
* 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
This commit is contained in:
parent
aa40f5fe5d
commit
fdbfc5dfc3
101
CHANGELOG.md
101
CHANGELOG.md
@ -5,6 +5,86 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## 0.5.10 - 2021-12-29
|
||||
[A whopping 31 pull requests][0.5.10-prs] were merged this release cycle!
|
||||
|
||||
According to this changelog, we saw 18 new contributors! However, some of these folks may have missed getting
|
||||
mentioned in previous entries since we only listed highlights. To avoid anyone feeling left out, I put in the effort
|
||||
this time and tried to list every single one here.
|
||||
|
||||
### Added
|
||||
* [[#1228]]: Add `Pool::any_kind()` [[@nitnelave]]
|
||||
* [[#1343]]: Add `Encode/Decode` impl for `Cow<'_, str>` [[@Drevoed]]
|
||||
* [[#1474]]: Derive `Clone`, `Copy` for `AnyKind` [[@yuyawk]]
|
||||
* [[#1497]]: Update FAQ to explain how to configure docs.rs to build a project using SQLx [[@russweas]]
|
||||
* [[#1498]]: Add description of migration file structure to `migrate!()` docs [[@zbigniewzolnierowicz]]
|
||||
* [[#1508]]: Add `.persistent(bool)` to `QueryAs`, `QueryScalar` [[@akiradeveloper]]
|
||||
* [[#1514]]: Add support for serialized threading mode to SQLite [[@LLBlumire]]
|
||||
* [[#1523]]: Allow `rust_decimal::Decimal` in `PgRange` [[@meh]]
|
||||
* [[#1539]]: Support `PGOPTIONS` and adding custom configuration options in `PgConnectOptions` [[@liushuyu]]
|
||||
* [[#1562]]: Re-export `either::Either` used by `Executor::fetch_many()` [[@DoumanAsh]]
|
||||
* [[#1584]]: Add feature to use RusTLS instead of `native-tls` for `sqlx-cli` [[@SonicZentropy]]
|
||||
* [[#1592]]: Add `AnyConnection::kind()` [[@05storm26]]
|
||||
|
||||
### Changes
|
||||
* [[#1385]]: Rewrite Postgres array handling to reduce boilerplate and allow custom types [[@jplatte]]
|
||||
* [[#1479]]: Remove outdated mention of `runtime-async-std-native-tls` as the default runtime in README.md [[@yerke]]
|
||||
* [[#1526]]: Revise `Pool` docs in a couple places [[@abonander]]
|
||||
* [[#1535]]: Bump `libsqlite-sys` to `0.23.1` [[@nitsky]]
|
||||
* [[#1551]]: SQLite: make worker thread responsible for all FFI calls [[@abonander]]
|
||||
* If you were encountering segfaults with the SQLite driver, there's a good chance this will fix it!
|
||||
* [[#1557]]: CI: test with Postgres 14 [[@paolobarbolini]]
|
||||
* [[#1571]]: Make `whoami` dep optional, only pull it in for Postgres [[@joshtriplett]]
|
||||
* [[#1572]]: Update `rsa` crate to 0.5 [[@paolobarbolini]]
|
||||
* [[#1591]]: List SeaORM as an ORM option in the README [[@kunjee17]]
|
||||
* [[#1601]]: Update `itoa` and `dirs` [[@paolobarbolini]]
|
||||
|
||||
### Fixes
|
||||
* [[#1475]]: Fix panic when converting a negative `chrono::Duration` to `PgInterval` [[@yuyawk]]
|
||||
* [[#1483]]: Fix error when decoding array of custom types from Postgres [[@demurgos]
|
||||
* [[#1501]]: Reduce `indexmap` version requirement to `1.6.2` [[@dimfeld]]
|
||||
* [[#1511]]: Fix element type given to Postgres for arrays of custom enums [[@chesedo]]
|
||||
* [[#1517]]: Fix mismatched type errors in MySQL type tests [[@abonander]]
|
||||
* [[#1537]]: Fix missing re-export of `PgCopyIn` [[@akiradeveloper]]
|
||||
* [[#1566]]: Match `~/.pgpass` password after URL parsing and fix user and database ordering [[@D1plo1d]]
|
||||
* [[#1582]]: `cargo sqlx prepare`: Append to existing `RUSTFLAGS` instead of overwriting [[@tkintscher]]
|
||||
* [[#1587]]: SQLite: if set, send `PRAGMA key` on a new connection before anything else. [[@parazyd]]
|
||||
* This should fix problems with being unable to open databases using SQLCipher.
|
||||
|
||||
|
||||
[#1228]: https://github.com/launchbadge/sqlx/pull/1228
|
||||
[#1343]: https://github.com/launchbadge/sqlx/pull/1343
|
||||
[#1385]: https://github.com/launchbadge/sqlx/pull/1385
|
||||
[#1474]: https://github.com/launchbadge/sqlx/pull/1474
|
||||
[#1475]: https://github.com/launchbadge/sqlx/pull/1475
|
||||
[#1479]: https://github.com/launchbadge/sqlx/pull/1479
|
||||
[#1483]: https://github.com/launchbadge/sqlx/pull/1483
|
||||
[#1497]: https://github.com/launchbadge/sqlx/pull/1497
|
||||
[#1498]: https://github.com/launchbadge/sqlx/pull/1498
|
||||
[#1501]: https://github.com/launchbadge/sqlx/pull/1501
|
||||
[#1508]: https://github.com/launchbadge/sqlx/pull/1508
|
||||
[#1511]: https://github.com/launchbadge/sqlx/pull/1511
|
||||
[#1514]: https://github.com/launchbadge/sqlx/pull/1514
|
||||
[#1517]: https://github.com/launchbadge/sqlx/pull/1517
|
||||
[#1523]: https://github.com/launchbadge/sqlx/pull/1523
|
||||
[#1526]: https://github.com/launchbadge/sqlx/pull/1526
|
||||
[#1535]: https://github.com/launchbadge/sqlx/pull/1535
|
||||
[#1537]: https://github.com/launchbadge/sqlx/pull/1537
|
||||
[#1539]: https://github.com/launchbadge/sqlx/pull/1539
|
||||
[#1551]: https://github.com/launchbadge/sqlx/pull/1551
|
||||
[#1557]: https://github.com/launchbadge/sqlx/pull/1557
|
||||
[#1562]: https://github.com/launchbadge/sqlx/pull/1562
|
||||
[#1566]: https://github.com/launchbadge/sqlx/pull/1566
|
||||
[#1571]: https://github.com/launchbadge/sqlx/pull/1571
|
||||
[#1572]: https://github.com/launchbadge/sqlx/pull/1572
|
||||
[#1582]: https://github.com/launchbadge/sqlx/pull/1582
|
||||
[#1584]: https://github.com/launchbadge/sqlx/pull/1584
|
||||
[#1587]: https://github.com/launchbadge/sqlx/pull/1587
|
||||
[#1591]: https://github.com/launchbadge/sqlx/pull/1591
|
||||
[#1592]: https://github.com/launchbadge/sqlx/pull/1592
|
||||
[#1601]: https://github.com/launchbadge/sqlx/pull/1601
|
||||
[0.5.10-prs]: https://github.com/launchbadge/sqlx/pulls?page=1&q=is%3Apr+merged%3A2021-10-02..2021-12-31+sort%3Acreated-asc
|
||||
|
||||
## 0.5.9 - 2021-10-01
|
||||
|
||||
A hotfix release to address the issue of the `sqlx` crate itself still depending on older versions of `sqlx-core` and
|
||||
@ -994,4 +1074,23 @@ Fix docs.rs build by enabling a runtime feature in the docs.rs metadata in `Carg
|
||||
[@djmarcin]: https://github.com/djmarcin
|
||||
[@ghassmo]: https://github.com/ghassmo
|
||||
[@eagletmt]: https://github.com/eagletmt
|
||||
[@montanalow]: https://github.com/montanalow
|
||||
[@montanalow]: https://github.com/montanalow
|
||||
[@nitnelave]: https://github.com/nitnelave
|
||||
[@Drevoed]: https://github.com/Drevoed
|
||||
[@yuyawk]: https://github.com/yuyawk
|
||||
[@yerke]: https://github.com/yerke
|
||||
[@russweas]: https://github.com/russweas
|
||||
[@zbigniewzolnierowicz]: https://github.com/zbigniewzolnierowicz
|
||||
[@dimfeld]: https://github.com/dimfeld
|
||||
[@akiradeveloper]: https://github.com/akiradeveloper
|
||||
[@chesedo]: https://github.com/chesedo
|
||||
[@LLBlumire]: https://github.com/LLBlumire
|
||||
[@liushuyu]: https://github.com/liushuyu
|
||||
[@paolobarbolini]: https://github.com/paolobarbolini
|
||||
[@DoumanAsh]: https://github.com/DoumanAsh
|
||||
[@D1plo1d]: https://github.com/D1plo1d
|
||||
[@tkintscher]: https://github.com/tkintscher
|
||||
[@SonicZentropy]: https://github.com/SonicZentropy
|
||||
[@parazyd]: https://github.com/parazyd
|
||||
[@kunjee17]: https://github.com/kunjee17
|
||||
[@05storm26]: https://github.com/05storm26
|
722
Cargo.lock
generated
722
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
30
Cargo.toml
30
Cargo.toml
@ -18,7 +18,7 @@ members = [
|
||||
|
||||
[package]
|
||||
name = "sqlx"
|
||||
version = "0.5.9"
|
||||
version = "0.5.10"
|
||||
license = "MIT OR Apache-2.0"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/launchbadge/sqlx"
|
||||
@ -132,27 +132,27 @@ bstr = ["sqlx-core/bstr"]
|
||||
git2 = ["sqlx-core/git2"]
|
||||
|
||||
[dependencies]
|
||||
sqlx-core = { version = "0.5.9", path = "sqlx-core", default-features = false }
|
||||
sqlx-macros = { version = "0.5.9", path = "sqlx-macros", default-features = false, optional = true }
|
||||
sqlx-core = { version = "0.5.10", path = "sqlx-core", default-features = false }
|
||||
sqlx-macros = { version = "0.5.10", path = "sqlx-macros", default-features = false, optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
anyhow = "1.0.31"
|
||||
time_ = { version = "0.2.16", package = "time" }
|
||||
futures = "0.3.5"
|
||||
env_logger = "0.8.3"
|
||||
async-std = { version = "1.8.0", features = ["attributes"] }
|
||||
tokio = { version = "1.0.1", features = ["full"] }
|
||||
anyhow = "1.0.52"
|
||||
time_ = { version = "0.2.27", package = "time" }
|
||||
futures = "0.3.19"
|
||||
env_logger = "0.8.4"
|
||||
async-std = { version = "1.10.0", features = ["attributes"] }
|
||||
tokio = { version = "1.15.0", features = ["full"] }
|
||||
dotenv = "0.15.0"
|
||||
trybuild = "1.0.24"
|
||||
trybuild = "1.0.53"
|
||||
sqlx-rt = { path = "./sqlx-rt" }
|
||||
sqlx-test = { path = "./sqlx-test" }
|
||||
paste = "1.0.1"
|
||||
serde = { version = "1.0.111", features = ["derive"] }
|
||||
serde_json = "1.0.53"
|
||||
url = "2.1.1"
|
||||
paste = "1.0.6"
|
||||
serde = { version = "1.0.132", features = ["derive"] }
|
||||
serde_json = "1.0.73"
|
||||
url = "2.2.2"
|
||||
rand = "0.8.4"
|
||||
rand_xoshiro = "0.6.0"
|
||||
hex = "0.4"
|
||||
hex = "0.4.3"
|
||||
#
|
||||
# Any
|
||||
#
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "sqlx-cli"
|
||||
version = "0.5.9"
|
||||
version = "0.5.10"
|
||||
description = "Command-line utility for SQLx, the Rust SQL toolkit."
|
||||
edition = "2018"
|
||||
readme = "README.md"
|
||||
@ -25,36 +25,32 @@ 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.9", path = "..", default-features = false, features = [
|
||||
dotenv = "0.15.0"
|
||||
tokio = { version = "1.15.0", features = ["macros", "rt", "rt-multi-thread"] }
|
||||
sqlx = { version = "0.5.10", path = "..", default-features = false, features = [
|
||||
"migrate",
|
||||
"any",
|
||||
"offline",
|
||||
] }
|
||||
futures = "0.3"
|
||||
# FIXME: we need to fix both of these versions until Clap 3.0 proper is released, then we can drop `clap_derive`
|
||||
# https://github.com/launchbadge/sqlx/issues/1378
|
||||
# https://github.com/clap-rs/clap/issues/2705
|
||||
clap = "=3.0.0-beta.2"
|
||||
clap_derive = "=3.0.0-beta.2"
|
||||
chrono = "0.4"
|
||||
anyhow = "1.0"
|
||||
url = { version = "2.1.1", default-features = false }
|
||||
async-trait = "0.1.30"
|
||||
futures = "0.3.19"
|
||||
clap = { version = "3.0.0-rc.9", features = ["derive", "env", "cargo"] }
|
||||
chrono = "0.4.19"
|
||||
anyhow = "1.0.52"
|
||||
url = { version = "2.2.2", default-features = false }
|
||||
async-trait = "0.1.52"
|
||||
console = "0.14.1"
|
||||
promptly = "0.3.0"
|
||||
serde_json = "1.0.53"
|
||||
serde = { version = "1.0.110", features = ["derive"] }
|
||||
serde_json = "1.0.73"
|
||||
serde = { version = "1.0.132", features = ["derive"] }
|
||||
glob = "0.3.0"
|
||||
openssl = { version = "0.10.30", optional = true }
|
||||
openssl = { version = "0.10.38", optional = true }
|
||||
# workaround for https://github.com/rust-lang/rust/issues/29497
|
||||
remove_dir_all = "0.7.0"
|
||||
|
||||
[features]
|
||||
default = ["postgres", "sqlite", "mysql", "native-tls"]
|
||||
rustls = ["sqlx/runtime-async-std-rustls"]
|
||||
native-tls = ["sqlx/runtime-async-std-native-tls"]
|
||||
rustls = ["sqlx/runtime-tokio-rustls"]
|
||||
native-tls = ["sqlx/runtime-tokio-native-tls"]
|
||||
|
||||
# databases
|
||||
mysql = ["sqlx/mysql"]
|
||||
|
@ -12,12 +12,13 @@ async fn main() {
|
||||
|
||||
dotenv().ok();
|
||||
let matches = Opt::into_app()
|
||||
.version(crate_version!())
|
||||
.bin_name("cargo sqlx")
|
||||
.setting(AppSettings::NoBinaryName)
|
||||
.get_matches_from(args);
|
||||
|
||||
if let Err(error) = sqlx_cli::run(Opt::from_arg_matches(&matches)).await {
|
||||
let opt = Opt::from_arg_matches(&matches).unwrap_or_else(|e| e.exit());
|
||||
|
||||
if let Err(error) = sqlx_cli::run(opt).await {
|
||||
println!("{} {}", style("error:").bold().red(), error);
|
||||
process::exit(1);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
use clap::{crate_version, FromArgMatches, IntoApp};
|
||||
use clap::Parser;
|
||||
use console::style;
|
||||
use dotenv::dotenv;
|
||||
use sqlx_cli::Opt;
|
||||
@ -6,10 +6,8 @@ use sqlx_cli::Opt;
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
dotenv().ok();
|
||||
let matches = Opt::into_app().version(crate_version!()).get_matches();
|
||||
|
||||
// no special handling here
|
||||
if let Err(error) = sqlx_cli::run(Opt::from_arg_matches(&matches)).await {
|
||||
if let Err(error) = sqlx_cli::run(Opt::parse()).await {
|
||||
println!("{} {}", style("error:").bold().red(), error);
|
||||
std::process::exit(1);
|
||||
}
|
||||
|
@ -1,12 +1,13 @@
|
||||
use clap::Clap;
|
||||
use clap::Parser;
|
||||
|
||||
#[derive(Clap, Debug)]
|
||||
#[derive(Parser, Debug)]
|
||||
#[clap(version, about, author)]
|
||||
pub struct Opt {
|
||||
#[clap(subcommand)]
|
||||
pub command: Command,
|
||||
}
|
||||
|
||||
#[derive(Clap, Debug)]
|
||||
#[derive(Parser, Debug)]
|
||||
pub enum Command {
|
||||
#[clap(alias = "db")]
|
||||
Database(DatabaseOpt),
|
||||
@ -44,13 +45,13 @@ pub enum Command {
|
||||
}
|
||||
|
||||
/// Group of commands for creating and dropping your database.
|
||||
#[derive(Clap, Debug)]
|
||||
#[derive(Parser, Debug)]
|
||||
pub struct DatabaseOpt {
|
||||
#[clap(subcommand)]
|
||||
pub command: DatabaseCommand,
|
||||
}
|
||||
|
||||
#[derive(Clap, Debug)]
|
||||
#[derive(Parser, Debug)]
|
||||
pub enum DatabaseCommand {
|
||||
/// Creates the database specified in your DATABASE_URL.
|
||||
Create {
|
||||
@ -100,7 +101,7 @@ pub enum DatabaseCommand {
|
||||
}
|
||||
|
||||
/// Group of commands for creating and running migrations.
|
||||
#[derive(Clap, Debug)]
|
||||
#[derive(Parser, Debug)]
|
||||
pub struct MigrateOpt {
|
||||
/// Path to folder containing migrations.
|
||||
#[clap(long, default_value = "migrations")]
|
||||
@ -110,7 +111,7 @@ pub struct MigrateOpt {
|
||||
pub command: MigrateCommand,
|
||||
}
|
||||
|
||||
#[derive(Clap, Debug)]
|
||||
#[derive(Parser, Debug)]
|
||||
pub enum MigrateCommand {
|
||||
/// Create a new migration with the given description,
|
||||
/// and the current time as the version.
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "sqlx-core"
|
||||
version = "0.5.9"
|
||||
version = "0.5.10"
|
||||
repository = "https://github.com/launchbadge/sqlx"
|
||||
description = "Core of SQLx, the rust SQL toolkit. Not intended to be used directly."
|
||||
license = "MIT OR Apache-2.0"
|
||||
@ -99,71 +99,71 @@ _tls-rustls = ["rustls", "webpki", "webpki-roots"]
|
||||
offline = ["serde", "either/serde"]
|
||||
|
||||
[dependencies]
|
||||
ahash = "0.7.2"
|
||||
ahash = "0.7.6"
|
||||
atoi = "0.4.0"
|
||||
sqlx-rt = { path = "../sqlx-rt", version = "0.5.9"}
|
||||
sqlx-rt = { path = "../sqlx-rt", version = "0.5.10"}
|
||||
base64 = { version = "0.13.0", default-features = false, optional = true, features = ["std"] }
|
||||
bigdecimal_ = { version = "0.2.0", optional = true, package = "bigdecimal" }
|
||||
rust_decimal = { version = "1.8.1", optional = true }
|
||||
bit-vec = { version = "0.6.2", optional = true }
|
||||
bitflags = { version = "1.2.1", default-features = false }
|
||||
bytes = "1.0.0"
|
||||
byteorder = { version = "1.3.4", default-features = false, features = ["std"] }
|
||||
chrono = { version = "0.4.11", default-features = false, features = ["clock"], optional = true }
|
||||
crc = { version = "2.0.0", optional = true }
|
||||
crossbeam-queue = "0.3.1"
|
||||
crossbeam-channel = "0.5.0"
|
||||
crossbeam-utils = { version = "0.8.1", default-features = false }
|
||||
bigdecimal_ = { version = "0.2.2", optional = true, package = "bigdecimal" }
|
||||
rust_decimal = { version = "1.19.0", optional = true }
|
||||
bit-vec = { version = "0.6.3", optional = true }
|
||||
bitflags = { version = "1.3.2", default-features = false }
|
||||
bytes = "1.1.0"
|
||||
byteorder = { version = "1.4.3", default-features = false, features = ["std"] }
|
||||
chrono = { version = "0.4.19", default-features = false, features = ["clock"], optional = true }
|
||||
crc = { version = "2.1.0", optional = true }
|
||||
crossbeam-queue = "0.3.2"
|
||||
crossbeam-channel = "0.5.1"
|
||||
crossbeam-utils = { version = "0.8.5", default-features = false }
|
||||
digest = { version = "0.9.0", default-features = false, optional = true, features = ["std"] }
|
||||
dirs = { version = "4", optional = true }
|
||||
encoding_rs = { version = "0.8.23", optional = true }
|
||||
either = "1.5.3"
|
||||
futures-channel = { version = "0.3.5", default-features = false, features = ["sink", "alloc", "std"] }
|
||||
futures-core = { version = "0.3.5", default-features = false }
|
||||
dirs = { version = "4.0.0", optional = true }
|
||||
encoding_rs = { version = "0.8.30", optional = true }
|
||||
either = "1.6.1"
|
||||
futures-channel = { version = "0.3.19", default-features = false, features = ["sink", "alloc", "std"] }
|
||||
futures-core = { version = "0.3.19", default-features = false }
|
||||
futures-intrusive = "0.4.0"
|
||||
futures-util = { version = "0.3.5", default-features = false, features = ["alloc", "sink"] }
|
||||
futures-util = { version = "0.3.19", default-features = false, features = ["alloc", "sink"] }
|
||||
# used by the SQLite worker thread to block on the async mutex that locks the database handle
|
||||
futures-executor = { version = "0.3.17", optional = true }
|
||||
futures-executor = { version = "0.3.19", optional = true }
|
||||
flume = { version = "0.10.9", optional = true, default-features = false, features = ["async"] }
|
||||
generic-array = { version = "0.14.4", default-features = false, optional = true }
|
||||
hex = "0.4.2"
|
||||
hex = "0.4.3"
|
||||
hmac = { version = "0.11.0", default-features = false, optional = true }
|
||||
itoa = "1"
|
||||
itoa = "1.0.1"
|
||||
ipnetwork = { version = "0.17.0", default-features = false, optional = true }
|
||||
mac_address = { version = "1.1", default-features = false, optional = true }
|
||||
libc = "0.2.71"
|
||||
libsqlite3-sys = { version = "0.23.1", optional = true, default-features = false, features = [
|
||||
mac_address = { version = "1.1.2", default-features = false, optional = true }
|
||||
libc = "0.2.112"
|
||||
libsqlite3-sys = { version = "0.23.2", optional = true, default-features = false, features = [
|
||||
"pkg-config",
|
||||
"vcpkg",
|
||||
"bundled",
|
||||
] }
|
||||
log = { version = "0.4.8", default-features = false }
|
||||
md-5 = { version = "0.9.0", default-features = false, optional = true }
|
||||
memchr = { version = "2.3.3", default-features = false }
|
||||
num-bigint = { version = "0.3.1", default-features = false, optional = true, features = ["std"] }
|
||||
once_cell = "1.5.2"
|
||||
log = { version = "0.4.14", default-features = false }
|
||||
md-5 = { version = "0.9.1", default-features = false, optional = true }
|
||||
memchr = { version = "2.4.1", default-features = false }
|
||||
num-bigint = { version = "0.3.3", default-features = false, optional = true, features = ["std"] }
|
||||
once_cell = "1.9.0"
|
||||
percent-encoding = "2.1.0"
|
||||
parking_lot = "0.11.0"
|
||||
rand = { version = "0.8.3", default-features = false, optional = true, features = ["std", "std_rng"] }
|
||||
regex = { version = "1.3.9", optional = true }
|
||||
parking_lot = "0.11.2"
|
||||
rand = { version = "0.8.4", default-features = false, optional = true, features = ["std", "std_rng"] }
|
||||
regex = { version = "1.5.4", optional = true }
|
||||
rsa = { version = "0.5.0", optional = true }
|
||||
rustls = { version = "0.19.0", features = ["dangerous_configuration"], optional = true }
|
||||
serde = { version = "1.0.106", features = ["derive", "rc"], optional = true }
|
||||
serde_json = { version = "1.0.51", features = ["raw_value"], optional = true }
|
||||
sha-1 = { version = "0.9.0", default-features = false, optional = true }
|
||||
sha2 = { version = "0.9.0", default-features = false, optional = true }
|
||||
sqlformat = "0.1.0"
|
||||
thiserror = "1.0.19"
|
||||
time = { version = "0.2.16", optional = true }
|
||||
tokio-stream = { version = "0.1.2", features = ["fs"], optional = true }
|
||||
smallvec = "1.4.0"
|
||||
url = { version = "2.1.1", default-features = false }
|
||||
uuid = { version = "0.8.1", default-features = false, optional = true, features = ["std"] }
|
||||
webpki = { version = "0.21.0", optional = true }
|
||||
webpki-roots = { version = "0.21.0", optional = true }
|
||||
whoami = { version = "1.0.1", optional = true }
|
||||
rustls = { version = "0.19.1", features = ["dangerous_configuration"], optional = true }
|
||||
serde = { version = "1.0.132", features = ["derive", "rc"], optional = true }
|
||||
serde_json = { version = "1.0.73", features = ["raw_value"], optional = true }
|
||||
sha-1 = { version = "0.9.8", default-features = false, optional = true }
|
||||
sha2 = { version = "0.9.8", default-features = false, optional = true }
|
||||
sqlformat = "0.1.8"
|
||||
thiserror = "1.0.30"
|
||||
time = { version = "0.2.27", optional = true }
|
||||
tokio-stream = { version = "0.1.8", features = ["fs"], optional = true }
|
||||
smallvec = "1.7.0"
|
||||
url = { version = "2.2.2", default-features = false }
|
||||
uuid = { version = "0.8.2", default-features = false, optional = true, features = ["std"] }
|
||||
webpki = { version = "0.21.4", optional = true }
|
||||
webpki-roots = { version = "0.21.1", optional = true }
|
||||
whoami = { version = "1.2.1", optional = true }
|
||||
stringprep = "0.1.2"
|
||||
bstr = { version = "0.2.14", default-features = false, features = ["std"], optional = true }
|
||||
git2 = { version = "0.13.20", default-features = false, optional = true }
|
||||
bstr = { version = "0.2.17", default-features = false, features = ["std"], optional = true }
|
||||
git2 = { version = "0.13.25", default-features = false, optional = true }
|
||||
hashlink = "0.7.0"
|
||||
indexmap = "1.6.2"
|
||||
indexmap = "1.7.0"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "sqlx-macros"
|
||||
version = "0.5.9"
|
||||
version = "0.5.10"
|
||||
repository = "https://github.com/launchbadge/sqlx"
|
||||
description = "Macros for SQLx, the rust SQL toolkit. Not intended to be used directly."
|
||||
license = "MIT OR Apache-2.0"
|
||||
@ -79,16 +79,16 @@ json = ["sqlx-core/json", "serde_json"]
|
||||
|
||||
[dependencies]
|
||||
dotenv = { version = "0.15.0", default-features = false }
|
||||
hex = { version = "0.4.2", optional = true }
|
||||
heck = "0.3.1"
|
||||
either = "1.5.3"
|
||||
once_cell = "1.5.2"
|
||||
proc-macro2 = { version = "1.0.9", default-features = false }
|
||||
sqlx-core = { version = "0.5.9", default-features = false, path = "../sqlx-core" }
|
||||
sqlx-rt = { version = "0.5.9", default-features = false, path = "../sqlx-rt" }
|
||||
serde = { version = "1.0.111", features = ["derive"], optional = true }
|
||||
serde_json = { version = "1.0.30", features = ["preserve_order"], optional = true }
|
||||
sha2 = { version = "0.9.1", optional = true }
|
||||
syn = { version = "1.0.30", default-features = false, features = ["full"] }
|
||||
quote = { version = "1.0.6", default-features = false }
|
||||
url = { version = "2.1.1", default-features = false }
|
||||
hex = { version = "0.4.3", optional = true }
|
||||
heck = "0.3.3"
|
||||
either = "1.6.1"
|
||||
once_cell = "1.9.0"
|
||||
proc-macro2 = { version = "1.0.36", default-features = false }
|
||||
sqlx-core = { version = "0.5.10", default-features = false, path = "../sqlx-core" }
|
||||
sqlx-rt = { version = "0.5.10", default-features = false, path = "../sqlx-rt" }
|
||||
serde = { version = "1.0.132", features = ["derive"], optional = true }
|
||||
serde_json = { version = "1.0.73", features = ["preserve_order"], optional = true }
|
||||
sha2 = { version = "0.9.8", optional = true }
|
||||
syn = { version = "1.0.84", default-features = false, features = ["full"] }
|
||||
quote = { version = "1.0.14", default-features = false }
|
||||
url = { version = "2.2.2", default-features = false }
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "sqlx-rt"
|
||||
version = "0.5.9"
|
||||
version = "0.5.10"
|
||||
repository = "https://github.com/launchbadge/sqlx"
|
||||
license = "MIT OR Apache-2.0"
|
||||
description = "Runtime abstraction used by SQLx, the Rust SQL toolkit. Not intended to be used directly."
|
||||
|
@ -599,7 +599,11 @@ async fn row_dropped_after_connection_doesnt_panic() {
|
||||
}
|
||||
|
||||
// note: to repro issue #1467 this should be run in release mode
|
||||
// May spuriously fail with UNIQUE constraint failures (which aren't relevant to the original issue)
|
||||
// which I have tried to reproduce using the same seed as printed from CI but to no avail.
|
||||
// It may be due to some nondeterminism in SQLite itself for all I know.
|
||||
#[sqlx_macros::test]
|
||||
#[ignore]
|
||||
async fn issue_1467() -> anyhow::Result<()> {
|
||||
let mut conn = SqliteConnectOptions::new()
|
||||
.filename(":memory:")
|
||||
|
Loading…
x
Reference in New Issue
Block a user