sqlx/sqlx-core/Cargo.toml

76 lines
3.9 KiB
TOML
Raw Normal View History

[package]
name = "sqlx-core"
2020-04-02 01:24:08 +00:00
version = "0.3.3"
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."
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
]
[features]
default = [ "runtime-async-std" ]
unstable = []
# intended mainly for CI and docs
all = ["all-database", "all-type"]
all-database = ["mysql", "sqlite", "postgres"]
all-type = ["bigdecimal", "json", "time", "chrono", "ipnetwork", "uuid"]
# we need a feature which activates `num-bigint` as well because
# `bigdecimal` uses types from it but does not reexport (tsk tsk)
bigdecimal = ["bigdecimal_", "num-bigint"]
2020-03-17 05:55:25 +00:00
postgres = [ "md-5", "sha2", "base64", "sha-1", "rand", "hmac", "futures-channel/sink", "futures-util/sink" ]
json = ["serde", "serde_json"]
mysql = [ "sha-1", "sha2", "generic-array", "num-bigint", "base64", "digest", "rand" ]
2020-03-14 21:57:26 +00:00
sqlite = [ "libsqlite3-sys" ]
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" ]
2020-03-31 01:31:00 +00:00
# intended for internal benchmarking, do not use
bench = []
[dependencies]
2020-01-17 02:29:58 +00:00
async-native-tls = { version = "0.3.2", default-features = false, optional = true }
2020-03-11 18:01:17 +00:00
async-std = { version = "1.5.0", features = [ "unstable" ], optional = true }
async-stream = { version = "0.2.1", default-features = false }
2020-03-18 23:56:24 +00:00
base64 = { version = "0.12.0", default-features = false, optional = true, features = [ "std" ] }
bigdecimal_ = { version = "0.1.0", optional = true, package = "bigdecimal" }
2019-12-28 01:31:01 +00:00
bitflags = { version = "1.2.1", default-features = false }
byteorder = { version = "1.3.4", default-features = false, features = [ "std" ] }
chrono = { version = "0.4.10", default-features = false, features = [ "clock" ], optional = true }
crossbeam-queue = "0.2.1"
crossbeam-utils = { version = "0.7.2", default-features = false }
digest = { version = "0.8.1", default-features = false, optional = true, features = [ "std" ] }
futures-channel = { version = "0.3.4", default-features = false, features = [ "alloc", "std" ] }
2020-02-22 03:43:28 +00:00
futures-core = { version = "0.3.4", default-features = false }
futures-util = { version = "0.3.4", default-features = false }
generic-array = { version = "0.12.3", default-features = false, optional = true }
hex = "0.4.2"
hmac = { version = "0.7.1", default-features = false, optional = true }
2020-03-20 02:51:47 +00:00
ipnetwork = { version = "0.16.0", default-features = false, optional = true }
2020-03-20 02:01:10 +00:00
libc = "0.2.68"
2019-12-28 12:02:52 +00:00
log = { version = "0.4.8", default-features = false }
md-5 = { version = "0.8.0", default-features = false, optional = true }
memchr = { version = "2.3.3", default-features = false }
num-bigint = { version = "0.2.6", default-features = false, optional = true, features = [ "std" ] }
percent-encoding = "2.1.0"
2020-01-17 02:29:58 +00:00
rand = { version = "0.7.3", default-features = false, optional = true, features = [ "std" ] }
sha-1 = { version = "0.8.2", default-features = false, optional = true }
sha2 = { version = "0.8.1", default-features = false, optional = true }
tokio = { version = "0.2.13", default-features = false, features = [ "dns", "fs", "time", "tcp" ], optional = true }
2020-01-17 02:29:58 +00:00
url = { version = "2.1.1", default-features = false }
uuid = { version = "0.8.1", default-features = false, optional = true, features = [ "std" ] }
serde = { version = "1.0", features = [ "derive" ], optional = true }
2020-03-21 09:42:32 +00:00
time = { version = "0.2.7", optional = true }
serde_json = { version = "1.0", features = [ "raw_value" ], optional = true }
2020-03-11 18:01:17 +00:00
# <https://github.com/jgallagher/rusqlite/tree/master/libsqlite3-sys>
[dependencies.libsqlite3-sys]
version = "0.17.1"
optional = true
default-features = false
features = [ "pkg-config", "vcpkg", "bundled" ]