2019-11-22 10:30:16 +00:00
|
|
|
[package]
|
|
|
|
name = "sqlx-core"
|
2021-04-16 01:38:50 +00:00
|
|
|
version = "0.5.2"
|
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 = [
|
2020-05-26 08:56:03 +00:00
|
|
|
"Ryan Leckey <leckey.ryan@gmail.com>",
|
|
|
|
"Austin Bonander <austin.bonander@gmail.com>",
|
2020-07-28 17:45:12 +00:00
|
|
|
"Chloe Ross <orangesnowfox@gmail.com>",
|
2020-05-26 08:56:03 +00:00
|
|
|
"Daniel Akhterov <akhterovd@gmail.com>",
|
2019-11-22 10:30:16 +00:00
|
|
|
]
|
|
|
|
|
2020-10-13 17:32:46 +00:00
|
|
|
[package.metadata.docs.rs]
|
2020-12-19 07:30:29 +00:00
|
|
|
features = ["all-databases", "all-types", "offline", "runtime-async-std-native-tls"]
|
2020-10-13 17:32:46 +00:00
|
|
|
|
2019-11-22 10:30:16 +00:00
|
|
|
[features]
|
2021-04-16 01:38:50 +00:00
|
|
|
default = ["migrate"]
|
|
|
|
migrate = ["sha2", "crc"]
|
2020-05-26 08:56:03 +00:00
|
|
|
|
|
|
|
# databases
|
2021-04-16 01:38:50 +00:00
|
|
|
all-databases = ["postgres", "mysql", "sqlite", "mssql", "any"]
|
|
|
|
postgres = [
|
|
|
|
"md-5",
|
|
|
|
"sha2",
|
|
|
|
"base64",
|
|
|
|
"sha-1",
|
|
|
|
"rand",
|
|
|
|
"hmac",
|
|
|
|
"futures-channel/sink",
|
|
|
|
"futures-util/sink",
|
|
|
|
"json",
|
|
|
|
"dirs",
|
|
|
|
]
|
|
|
|
mysql = [
|
|
|
|
"sha-1",
|
|
|
|
"sha2",
|
|
|
|
"generic-array",
|
|
|
|
"num-bigint",
|
|
|
|
"base64",
|
|
|
|
"digest",
|
|
|
|
"rand",
|
|
|
|
"rsa",
|
|
|
|
]
|
|
|
|
sqlite = ["libsqlite3-sys"]
|
|
|
|
mssql = ["uuid", "encoding_rs", "regex"]
|
2020-06-27 11:07:40 +00:00
|
|
|
any = []
|
2020-05-26 08:56:03 +00:00
|
|
|
|
|
|
|
# types
|
2021-04-16 01:38:50 +00:00
|
|
|
all-types = [
|
|
|
|
"chrono",
|
|
|
|
"time",
|
|
|
|
"bigdecimal",
|
|
|
|
"decimal",
|
|
|
|
"ipnetwork",
|
|
|
|
"json",
|
|
|
|
"uuid",
|
|
|
|
"bit-vec",
|
|
|
|
]
|
|
|
|
bigdecimal = ["bigdecimal_", "num-bigint"]
|
|
|
|
decimal = ["rust_decimal", "num-bigint"]
|
|
|
|
json = ["serde", "serde_json"]
|
2020-05-26 08:56:03 +00:00
|
|
|
|
|
|
|
# runtimes
|
2021-04-16 01:38:50 +00:00
|
|
|
runtime-actix-native-tls = [
|
|
|
|
"sqlx-rt/runtime-actix-native-tls",
|
|
|
|
"_tls-native-tls",
|
|
|
|
"_rt-actix",
|
|
|
|
]
|
|
|
|
runtime-async-std-native-tls = [
|
|
|
|
"sqlx-rt/runtime-async-std-native-tls",
|
|
|
|
"_tls-native-tls",
|
|
|
|
"_rt-async-std",
|
|
|
|
]
|
|
|
|
runtime-tokio-native-tls = [
|
|
|
|
"sqlx-rt/runtime-tokio-native-tls",
|
|
|
|
"_tls-native-tls",
|
|
|
|
"_rt-tokio",
|
|
|
|
]
|
2020-10-20 10:29:24 +00:00
|
|
|
|
2021-04-16 01:38:50 +00:00
|
|
|
runtime-actix-rustls = ["sqlx-rt/runtime-actix-rustls", "_tls-rustls", "_rt-actix"]
|
|
|
|
runtime-async-std-rustls = [
|
|
|
|
"sqlx-rt/runtime-async-std-rustls",
|
|
|
|
"_tls-rustls",
|
|
|
|
"_rt-async-std",
|
|
|
|
]
|
|
|
|
runtime-tokio-rustls = ["sqlx-rt/runtime-tokio-rustls", "_tls-rustls", "_rt-tokio"]
|
2020-10-20 10:21:01 +00:00
|
|
|
|
2020-10-20 10:29:24 +00:00
|
|
|
# for conditional compilation
|
2021-04-16 01:38:50 +00:00
|
|
|
_rt-actix = ["tokio-stream"]
|
2020-10-20 10:29:24 +00:00
|
|
|
_rt-async-std = []
|
2021-04-16 01:38:50 +00:00
|
|
|
_rt-tokio = ["tokio-stream"]
|
2020-10-20 16:04:13 +00:00
|
|
|
_tls-native-tls = []
|
2021-04-16 01:38:50 +00:00
|
|
|
_tls-rustls = ["rustls", "webpki", "webpki-roots"]
|
2019-11-22 10:30:16 +00:00
|
|
|
|
2020-04-14 06:00:19 +00:00
|
|
|
# support offline/decoupled building (enables serialization of `Describe`)
|
2021-04-16 01:38:50 +00:00
|
|
|
offline = ["serde", "either/serde"]
|
2020-04-14 06:00:19 +00:00
|
|
|
|
2019-11-22 10:30:16 +00:00
|
|
|
[dependencies]
|
2021-04-09 07:31:07 +00:00
|
|
|
ahash = "0.7.2"
|
2020-12-19 08:25:57 +00:00
|
|
|
atoi = "0.4.0"
|
2021-04-16 01:38:50 +00:00
|
|
|
sqlx-rt = { path = "../sqlx-rt", version = "0.5.2" }
|
|
|
|
base64 = { version = "0.13.0", default-features = false, optional = true, features = ["std"] }
|
2020-10-30 10:27:19 +00:00
|
|
|
bigdecimal_ = { version = "0.2.0", optional = true, package = "bigdecimal" }
|
2020-12-19 08:25:57 +00:00
|
|
|
rust_decimal = { version = "1.8.1", optional = true }
|
2020-07-06 17:39:33 +00:00
|
|
|
bit-vec = { version = "0.6.2", optional = true }
|
2019-12-28 01:31:01 +00:00
|
|
|
bitflags = { version = "1.2.1", default-features = false }
|
2021-01-14 12:24:25 +00:00
|
|
|
bytes = "1.0.0"
|
2021-04-16 01:38:50 +00:00
|
|
|
byteorder = { version = "1.3.4", default-features = false, features = ["std"] }
|
|
|
|
chrono = { version = "0.4.11", default-features = false, features = ["clock"], optional = true }
|
2020-07-12 10:43:49 +00:00
|
|
|
crc = { version = "1.8.1", optional = true }
|
2020-12-19 08:25:57 +00:00
|
|
|
crossbeam-queue = "0.3.1"
|
|
|
|
crossbeam-channel = "0.5.0"
|
|
|
|
crossbeam-utils = { version = "0.8.1", default-features = false }
|
2021-04-16 01:38:50 +00:00
|
|
|
digest = { version = "0.9.0", default-features = false, optional = true, features = ["std"] }
|
2021-02-02 09:46:07 +00:00
|
|
|
dirs = { version = "3.0.1", optional = true }
|
2020-06-06 20:28:49 +00:00
|
|
|
encoding_rs = { version = "0.8.23", optional = true }
|
2020-05-26 08:56:03 +00:00
|
|
|
either = "1.5.3"
|
2021-04-16 01:38:50 +00:00
|
|
|
futures-channel = { version = "0.3.5", default-features = false, features = ["sink", "alloc", "std"] }
|
2020-06-07 23:30:21 +00:00
|
|
|
futures-core = { version = "0.3.5", default-features = false }
|
2021-04-16 01:38:50 +00:00
|
|
|
futures-util = { version = "0.3.5", features = ["sink"] }
|
2020-12-19 08:25:57 +00:00
|
|
|
generic-array = { version = "0.14.4", default-features = false, optional = true }
|
2020-03-02 08:29:52 +00:00
|
|
|
hex = "0.4.2"
|
2020-12-19 08:25:57 +00:00
|
|
|
hmac = { version = "0.10.1", default-features = false, optional = true }
|
2020-05-26 08:56:03 +00:00
|
|
|
itoa = "0.4.5"
|
2020-07-17 12:36:56 +00:00
|
|
|
ipnetwork = { version = "0.17.0", default-features = false, optional = true }
|
2020-06-07 23:30:21 +00:00
|
|
|
libc = "0.2.71"
|
2021-04-16 01:38:50 +00:00
|
|
|
libsqlite3-sys = { version = "0.22.0", optional = true, default-features = false, features = [
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
|
|
|
"bundled",
|
|
|
|
] }
|
2019-12-28 12:02:52 +00:00
|
|
|
log = { version = "0.4.8", default-features = false }
|
2020-06-13 15:54:38 +00:00
|
|
|
md-5 = { version = "0.9.0", default-features = false, optional = true }
|
2020-03-02 08:29:52 +00:00
|
|
|
memchr = { version = "2.3.3", default-features = false }
|
2021-04-16 01:38:50 +00:00
|
|
|
num-bigint = { version = "0.3.1", default-features = false, optional = true, features = ["std"] }
|
2020-12-19 08:25:57 +00:00
|
|
|
once_cell = "1.5.2"
|
2020-01-21 23:53:07 +00:00
|
|
|
percent-encoding = "2.1.0"
|
2020-06-27 12:57:21 +00:00
|
|
|
parking_lot = "0.11.0"
|
2021-04-16 01:38:50 +00:00
|
|
|
rand = { version = "0.8.3", default-features = false, optional = true, features = ["std", "std_rng"] }
|
2020-06-07 08:59:59 +00:00
|
|
|
regex = { version = "1.3.9", optional = true }
|
2021-04-09 07:31:07 +00:00
|
|
|
rsa = { version = "0.4.0", optional = true }
|
2021-04-16 01:38:50 +00:00
|
|
|
rustls = { version = "0.19.0", features = ["dangerous_configuration"], optional = true }
|
|
|
|
serde = { version = "1.0.106", features = ["derive", "rc"], optional = true }
|
|
|
|
serde_json = { version = "1.0.51", features = ["raw_value"], optional = true }
|
2020-06-13 15:54:38 +00:00
|
|
|
sha-1 = { version = "0.9.0", default-features = false, optional = true }
|
|
|
|
sha2 = { version = "0.9.0", default-features = false, optional = true }
|
2020-05-26 08:56:03 +00:00
|
|
|
sqlformat = "0.1.0"
|
2020-06-07 23:30:21 +00:00
|
|
|
thiserror = "1.0.19"
|
|
|
|
time = { version = "0.2.16", optional = true }
|
2021-01-14 12:24:25 +00:00
|
|
|
tokio-stream = { version = "0.1.2", features = ["fs"], optional = true }
|
2020-05-26 08:56:03 +00:00
|
|
|
smallvec = "1.4.0"
|
2020-01-17 02:29:58 +00:00
|
|
|
url = { version = "2.1.1", default-features = false }
|
2021-04-16 01:38:50 +00:00
|
|
|
uuid = { version = "0.8.1", default-features = false, optional = true, features = ["std"] }
|
2020-10-20 10:21:01 +00:00
|
|
|
webpki = { version = "0.21.3", optional = true }
|
2020-12-19 08:25:57 +00:00
|
|
|
webpki-roots = { version = "0.21.0", optional = true }
|
2020-12-17 04:59:51 +00:00
|
|
|
whoami = "1.0.1"
|
2020-06-06 17:53:07 +00:00
|
|
|
stringprep = "0.1.2"
|
2021-04-16 01:38:50 +00:00
|
|
|
bstr = { version = "0.2.14", default-features = false, features = ["std"], optional = true }
|
2020-11-21 22:15:27 +00:00
|
|
|
git2 = { version = "0.13.12", default-features = false, optional = true }
|
2020-12-01 15:45:34 +00:00
|
|
|
hashlink = "0.6.0"
|