2019-11-22 10:30:16 +00:00
|
|
|
[package]
|
|
|
|
name = "sqlx-core"
|
2020-01-16 09:52:47 +00:00
|
|
|
version = "0.2.1"
|
2019-12-28 08:25:04 +00:00
|
|
|
repository = "https://github.com/launchbadge/sqlx"
|
|
|
|
description = "Core of SQLx, the rust SQL toolkit. Not intended to be used directly."
|
2019-11-22 10:30:16 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
edition = "2018"
|
|
|
|
authors = [
|
2019-12-28 08:36:37 +00:00
|
|
|
"Ryan Leckey <leckey.ryan@gmail.com>", # ryan@launchbadge.com
|
|
|
|
"Austin Bonander <austin.bonander@gmail.com>", # austin@launchbadge.com
|
|
|
|
"Zachery Gyurkovitz <zgyurkovitz@gmail.com>", # zach@launchbadge.com
|
|
|
|
"Daniel Akhterov <akhterovd@gmail.com>", # daniel@launchbadge.com
|
2019-11-22 10:30:16 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[features]
|
2020-01-16 20:20:20 +00:00
|
|
|
default = [ "runtime-async-std" ]
|
2019-11-22 10:30:16 +00:00
|
|
|
unstable = []
|
2020-01-11 00:38:44 +00:00
|
|
|
postgres = [ "md-5", "sha2", "base64", "sha-1", "rand", "hmac" ]
|
2019-12-31 22:16:48 +00:00
|
|
|
mysql = [ "sha-1", "sha2", "generic-array", "num-bigint", "base64", "digest", "rand" ]
|
2020-01-15 09:17:33 +00:00
|
|
|
tls = [ "async-native-tls" ]
|
|
|
|
runtime-async-std = [ "async-native-tls/runtime-async-std", "async-std" ]
|
|
|
|
runtime-tokio = [ "async-native-tls/runtime-tokio", "tokio" ]
|
2019-11-22 10:30:16 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2020-01-15 09:17:33 +00:00
|
|
|
async-native-tls = { version = "0.3", default-features = false, optional = true }
|
|
|
|
async-std = { version = "1.4.0", optional = true }
|
|
|
|
tokio = { version = "0.2", default-features = false, features = [ "dns", "fs", "time", "tcp" ], optional = true }
|
2019-12-31 22:16:48 +00:00
|
|
|
async-stream = { version = "0.2.0", default-features = false }
|
|
|
|
base64 = { version = "0.11.0", default-features = false, optional = true, features = [ "std" ] }
|
2019-12-28 01:31:01 +00:00
|
|
|
bitflags = { version = "1.2.1", default-features = false }
|
2019-12-31 22:16:48 +00:00
|
|
|
byteorder = { version = "1.3.2", default-features = false }
|
2020-01-11 11:26:48 +00:00
|
|
|
crossbeam-queue = "0.2.1"
|
|
|
|
crossbeam-utils = { version = "0.7.0", default-features = false }
|
2019-12-31 22:16:48 +00:00
|
|
|
chrono = { version = "0.4.10", default-features = false, features = [ "clock" ], optional = true }
|
|
|
|
digest = { version = "0.8.1", default-features = false, optional = true, features = [ "std" ] }
|
2020-01-11 12:06:33 +00:00
|
|
|
futures-channel = { version = "0.3.1", default-features = false, features = [ "alloc" ] }
|
2019-12-28 01:31:01 +00:00
|
|
|
futures-core = { version = "0.3.1", default-features = false }
|
|
|
|
futures-util = { version = "0.3.1", default-features = false }
|
2020-01-11 11:35:38 +00:00
|
|
|
# generic-array must match version that digest crates use
|
|
|
|
generic-array = { version = "0.12.3", default-features = false, optional = true }
|
2019-12-28 12:02:52 +00:00
|
|
|
log = { version = "0.4.8", default-features = false }
|
2019-12-31 22:16:48 +00:00
|
|
|
md-5 = { version = "0.8.0", default-features = false, optional = true }
|
2019-12-28 01:31:01 +00:00
|
|
|
memchr = { version = "2.2.1", default-features = false }
|
2019-12-31 22:16:48 +00:00
|
|
|
num-bigint = { version = "0.2.3", default-features = false, optional = true, features = [ "std" ] }
|
|
|
|
rand = { version = "0.7.2", default-features = false, optional = true, features = [ "std" ] }
|
|
|
|
sha-1 = { version = "0.8.1", default-features = false, optional = true }
|
|
|
|
sha2 = { version = "0.8.0", default-features = false, optional = true }
|
|
|
|
url = { version = "2.1.0", default-features = false }
|
2019-12-28 01:31:01 +00:00
|
|
|
uuid = { version = "0.8.1", default-features = false, optional = true }
|
2020-01-11 00:38:44 +00:00
|
|
|
hmac = { version = "0.7.1", default-features = false, optional = true }
|
2019-11-22 10:30:16 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
matches = "0.1.8"
|