mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
Update dependencies
This commit is contained in:
parent
aa0b27af35
commit
ee449d351b
@ -16,10 +16,9 @@ description = "Asynchronous and expressive database client in pure Rust."
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
runtime = "=0.3.0-alpha.4"
|
||||
runtime = "=0.3.0-alpha.6"
|
||||
sqlx-core = { path = "sqlx-core" }
|
||||
sqlx-postgres = { path = "sqlx-postgres" }
|
||||
failure = "0.1"
|
||||
env_logger = "0.6.1"
|
||||
bytes = "0.4.12"
|
||||
|
||||
|
||||
@ -7,6 +7,5 @@ description = "Mock the PostgreSQL wire protocol. Used internally to test and be
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
runtime = "=0.3.0-alpha.4"
|
||||
runtime = "=0.3.0-alpha.6"
|
||||
futures-preview = "=0.3.0-alpha.16"
|
||||
failure = "0.1"
|
||||
|
||||
@ -7,7 +7,7 @@ description = "Provides standalone encoding and decoding of the PostgreSQL v3 wi
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
byteorder = "1.3.1"
|
||||
byteorder = "1.3.2"
|
||||
bytes = "0.4.12"
|
||||
memchr = "2.2.0"
|
||||
md-5 = "0.8.0"
|
||||
@ -16,7 +16,7 @@ hex = "0.3.2"
|
||||
|
||||
[dev-dependencies]
|
||||
matches = "0.1.8"
|
||||
criterion = "0.2"
|
||||
criterion = "0.2.11"
|
||||
|
||||
[[bench]]
|
||||
name = "decode"
|
||||
|
||||
@ -9,11 +9,10 @@ edition = "2018"
|
||||
[dependencies]
|
||||
sqlx-core = { path = "../sqlx-core" }
|
||||
sqlx-postgres-protocol = { path = "../sqlx-postgres-protocol" }
|
||||
runtime = "=0.3.0-alpha.4"
|
||||
runtime = "=0.3.0-alpha.6"
|
||||
futures-preview = "=0.3.0-alpha.16"
|
||||
failure = "0.1"
|
||||
byteorder = "1.3.1"
|
||||
log = "0.4"
|
||||
byteorder = "1.3.2"
|
||||
log = "0.4.6"
|
||||
hex = "0.3.2"
|
||||
bytes = "0.4.12"
|
||||
memchr = "2.2.0"
|
||||
@ -21,7 +20,9 @@ md-5 = "0.8.0"
|
||||
|
||||
[dev-dependencies]
|
||||
matches = "0.1.8"
|
||||
criterion = "0.2"
|
||||
criterion = "0.2.11"
|
||||
postgres = "0.16.0-rc.1"
|
||||
runtime-tokio = "=0.3.0-alpha.5"
|
||||
|
||||
[[bench]]
|
||||
name = "connection"
|
||||
|
||||
@ -1,10 +1,11 @@
|
||||
#![feature(async_await)]
|
||||
|
||||
use sqlx::{pg::Connection, ConnectOptions};
|
||||
use std::io;
|
||||
|
||||
#[runtime::main]
|
||||
async fn main() -> Result<(), failure::Error> {
|
||||
env_logger::try_init()?;
|
||||
async fn main() -> io::Result<()> {
|
||||
env_logger::init();
|
||||
|
||||
let conn = Connection::establish(
|
||||
ConnectOptions::new()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user