2019-11-22 10:30:16 +00:00
|
|
|
[package]
|
|
|
|
name = "sqlx-core"
|
2019-12-28 08:25:04 +00:00
|
|
|
description = "Core of SQLx, the rust SQL toolkit. Not intended to be used directly."
|
2023-02-02 00:47:29 +00:00
|
|
|
version.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
authors.workspace = true
|
|
|
|
repository.workspace = true
|
2019-11-22 10:30:16 +00:00
|
|
|
|
2020-10-13 17:32:46 +00:00
|
|
|
[package.metadata.docs.rs]
|
2023-07-03 21:37:37 +00:00
|
|
|
features = ["offline"]
|
2020-10-13 17:32:46 +00:00
|
|
|
|
2019-11-22 10:30:16 +00:00
|
|
|
[features]
|
2023-02-02 00:47:29 +00:00
|
|
|
default = []
|
2021-04-16 01:38:50 +00:00
|
|
|
migrate = ["sha2", "crc"]
|
2020-05-26 08:56:03 +00:00
|
|
|
|
2020-06-27 11:07:40 +00:00
|
|
|
any = []
|
2020-05-26 08:56:03 +00:00
|
|
|
|
2021-04-16 01:38:50 +00:00
|
|
|
json = ["serde", "serde_json"]
|
2020-05-26 08:56:03 +00:00
|
|
|
|
2020-10-20 10:29:24 +00:00
|
|
|
# for conditional compilation
|
2023-02-02 00:47:29 +00:00
|
|
|
_rt-async-std = ["async-std", "async-io"]
|
|
|
|
_rt-tokio = ["tokio", "tokio-stream"]
|
|
|
|
_tls-native-tls = ["native-tls"]
|
2022-04-14 22:11:17 +00:00
|
|
|
_tls-rustls = ["rustls", "rustls-pemfile", "webpki-roots"]
|
2023-02-02 00:47:29 +00:00
|
|
|
_tls-none = []
|
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]
|
2023-02-02 00:47:29 +00:00
|
|
|
# Runtimes
|
|
|
|
async-std = { workspace = true, optional = true }
|
|
|
|
tokio = { workspace = true, optional = true }
|
|
|
|
|
|
|
|
# TLS
|
|
|
|
native-tls = { version = "0.2.10", optional = true }
|
|
|
|
|
2023-10-23 22:19:55 +00:00
|
|
|
rustls = { version = "0.21.7", default-features = false, features = ["dangerous_configuration", "tls12"], optional = true }
|
2023-02-02 00:47:29 +00:00
|
|
|
rustls-pemfile = { version = "1.0", optional = true }
|
2023-10-23 22:19:55 +00:00
|
|
|
webpki-roots = { version = "0.25", optional = true }
|
2023-02-02 00:47:29 +00:00
|
|
|
|
|
|
|
# Type Integrations
|
|
|
|
bit-vec = { workspace = true, optional = true }
|
|
|
|
bigdecimal = { workspace = true, optional = true }
|
|
|
|
rust_decimal = { workspace = true, optional = true }
|
|
|
|
time = { workspace = true, optional = true }
|
|
|
|
ipnetwork = { workspace = true, optional = true }
|
|
|
|
mac_address = { workspace = true, optional = true }
|
|
|
|
uuid = { workspace = true, optional = true }
|
|
|
|
|
|
|
|
async-io = { version = "1.9.0", optional = true }
|
2022-02-17 22:57:48 +00:00
|
|
|
paste = "1.0.6"
|
2024-01-18 03:15:51 +00:00
|
|
|
ahash = "0.8.7"
|
2023-02-18 10:05:27 +00:00
|
|
|
atoi = "2.0"
|
2023-02-02 00:47:29 +00:00
|
|
|
|
2021-12-30 01:25:49 +00:00
|
|
|
bytes = "1.1.0"
|
|
|
|
byteorder = { version = "1.4.3", default-features = false, features = ["std"] }
|
|
|
|
chrono = { version = "0.4.19", default-features = false, features = ["clock"], optional = true }
|
2022-05-02 19:44:16 +00:00
|
|
|
crc = { version = "3", optional = true }
|
2021-12-30 01:25:49 +00:00
|
|
|
crossbeam-queue = "0.3.2"
|
2022-04-11 18:24:09 +00:00
|
|
|
digest = { version = "0.10.0", default-features = false, optional = true, features = ["std"] }
|
2021-12-30 01:25:49 +00:00
|
|
|
encoding_rs = { version = "0.8.30", optional = true }
|
|
|
|
either = "1.6.1"
|
|
|
|
futures-channel = { version = "0.3.19", default-features = false, features = ["sink", "alloc", "std"] }
|
|
|
|
futures-core = { version = "0.3.19", default-features = false }
|
2023-02-02 00:47:29 +00:00
|
|
|
futures-io = "0.3.24"
|
2023-02-18 10:05:27 +00:00
|
|
|
futures-intrusive = "0.5.0"
|
2023-02-02 00:47:29 +00:00
|
|
|
futures-util = { version = "0.3.19", default-features = false, features = ["alloc", "sink", "io"] }
|
2021-12-30 01:25:49 +00:00
|
|
|
hex = "0.4.3"
|
|
|
|
log = { version = "0.4.14", default-features = false }
|
|
|
|
memchr = { version = "2.4.1", default-features = false }
|
2022-04-14 23:12:15 +00:00
|
|
|
num-bigint = { version = "0.4.0", default-features = false, optional = true, features = ["std"] }
|
2021-12-30 01:25:49 +00:00
|
|
|
once_cell = "1.9.0"
|
2020-01-21 23:53:07 +00:00
|
|
|
percent-encoding = "2.1.0"
|
2022-03-09 17:57:37 +00:00
|
|
|
regex = { version = "1.5.5", optional = true }
|
2021-12-30 01:25:49 +00:00
|
|
|
serde = { version = "1.0.132", features = ["derive", "rc"], optional = true }
|
|
|
|
serde_json = { version = "1.0.73", features = ["raw_value"], optional = true }
|
2022-08-17 00:51:29 +00:00
|
|
|
sha1 = { version = "0.10.1", default-features = false, optional = true }
|
2022-04-11 18:24:09 +00:00
|
|
|
sha2 = { version = "0.10.0", default-features = false, optional = true }
|
2022-08-08 21:34:56 +00:00
|
|
|
sqlformat = "0.2.0"
|
2021-12-30 01:25:49 +00:00
|
|
|
thiserror = "1.0.30"
|
|
|
|
tokio-stream = { version = "0.1.8", features = ["fs"], optional = true }
|
2023-02-11 01:35:12 +00:00
|
|
|
tracing = { version = "0.1.37", features = ["log"] }
|
2021-12-30 01:25:49 +00:00
|
|
|
smallvec = "1.7.0"
|
|
|
|
url = { version = "2.2.2", default-features = false }
|
2023-02-18 10:05:27 +00:00
|
|
|
bstr = { version = "1.0", default-features = false, features = ["std"], optional = true }
|
2022-04-15 21:34:48 +00:00
|
|
|
hashlink = "0.8.0"
|
2023-06-30 19:32:46 +00:00
|
|
|
indexmap = "2.0"
|
2022-04-05 23:17:35 +00:00
|
|
|
event-listener = "2.5.2"
|
2022-02-17 22:55:38 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-11-23 01:06:47 +00:00
|
|
|
sqlx = { workspace = true, features = ["postgres", "sqlite", "mysql", "migrate", "macros", "time", "uuid"] }
|
2022-04-11 18:24:09 +00:00
|
|
|
tokio = { version = "1", features = ["rt"] }
|