Update dependencies

This commit is contained in:
Ryan Leckey 2019-06-28 21:39:36 -07:00
parent aa0b27af35
commit ee449d351b
5 changed files with 13 additions and 13 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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()