sqlx/Cargo.toml
2019-08-20 20:10:18 -07:00

54 lines
1.2 KiB
TOML

[workspace]
members = [
".",
"examples/todos",
"examples/contacts"
]
[package]
name = "sqlx"
version = "0.0.0"
authors = ["Ryan Leckey <leckey.ryan@gmail.com>"]
license = "MIT OR Apache-2.0"
description = "Asynchronous and expressive database client in pure Rust."
edition = "2018"
[features]
default = ["postgres"]
postgres = []
mariadb = []
[dependencies]
# bitflags = "1.1.0"
byteorder = { version = "1.3.2", default-features = false }
bytes = "0.4.12"
crossbeam-queue = "0.1.2"
crossbeam-utils = { version = "0.6.6", default-features = false }
# enum-tryfrom = "0.2.1"
# enum-tryfrom-derive = "0.2.1"
# failure = "0.1.5"
futures-util-preview = "=0.3.0-alpha.18"
futures-channel-preview = "=0.3.0-alpha.18"
futures-core-preview = "=0.3.0-alpha.18"
hex = { version = "0.3.2", default-features = false }
# itoa = "0.4.4"
log = "0.4.8"
md-5 = "0.8.0"
url = "2.1.0"
memchr = "2.2.1"
async-stream = "0.1.0"
tokio = { version = "=0.2.0-alpha.2", default-features = false, features = [ "tcp" ] }
[dev-dependencies]
criterion = "0.2"
[[bench]]
name = "postgres_protocol_decode"
harness = false
[profile.release]
lto = true
codegen-units = 1
[patch.crates-io]
async-stream = { git = "https://github.com/tokio-rs/async-stream" }