2023-02-02 00:47:29 +00:00
|
|
|
[package]
|
|
|
|
name = "sqlx-postgres"
|
|
|
|
documentation = "https://docs.rs/sqlx"
|
|
|
|
description = "PostgreSQL driver implementation for SQLx. Not for direct use; see the `sqlx` crate for details."
|
|
|
|
version.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
authors.workspace = true
|
|
|
|
repository.workspace = true
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[features]
|
|
|
|
any = ["sqlx-core/any"]
|
|
|
|
json = ["sqlx-core/json"]
|
|
|
|
migrate = ["sqlx-core/migrate"]
|
|
|
|
offline = ["sqlx-core/offline"]
|
|
|
|
|
|
|
|
# Type integration features which require additional dependencies
|
2023-10-16 21:03:28 +00:00
|
|
|
rust_decimal = ["dep:rust_decimal", "rust_decimal/maths"]
|
2023-02-22 23:48:59 +00:00
|
|
|
bigdecimal = ["dep:bigdecimal", "dep:num-bigint"]
|
2023-02-02 00:47:29 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
# Futures crates
|
|
|
|
futures-channel = { version = "0.3.19", default-features = false, features = ["sink", "alloc", "std"] }
|
|
|
|
futures-core = { version = "0.3.19", default-features = false }
|
|
|
|
futures-io = "0.3.24"
|
|
|
|
futures-util = { version = "0.3.19", default-features = false, features = ["alloc", "sink", "io"] }
|
|
|
|
|
|
|
|
# Cryptographic Primitives
|
|
|
|
crc = "3.0.0"
|
|
|
|
hkdf = "0.12.0"
|
|
|
|
hmac = { version = "0.12.0", default-features = false }
|
|
|
|
md-5 = { version = "0.10.0", default-features = false }
|
|
|
|
rand = { version = "0.8.4", default-features = false, features = ["std", "std_rng"] }
|
|
|
|
sha1 = { version = "0.10.1", default-features = false }
|
|
|
|
sha2 = { version = "0.10.0", default-features = false }
|
|
|
|
|
|
|
|
# Type Integrations (versions inherited from `[workspace.dependencies]`)
|
|
|
|
bigdecimal = { workspace = true, optional = true }
|
|
|
|
bit-vec = { workspace = true, optional = true }
|
|
|
|
chrono = { workspace = true, optional = true }
|
|
|
|
ipnetwork = { workspace = true, optional = true }
|
|
|
|
mac_address = { workspace = true, optional = true }
|
|
|
|
rust_decimal = { workspace = true, optional = true }
|
|
|
|
time = { workspace = true, optional = true }
|
|
|
|
uuid = { workspace = true, optional = true }
|
|
|
|
|
|
|
|
# Misc
|
2023-02-18 10:05:27 +00:00
|
|
|
atoi = "2.0"
|
|
|
|
base64 = { version = "0.21.0", default-features = false, features = ["std"] }
|
2023-06-30 19:34:33 +00:00
|
|
|
bitflags = { version = "2", default-features = false }
|
2023-02-02 00:47:29 +00:00
|
|
|
byteorder = { version = "1.4.3", default-features = false, features = ["std"] }
|
|
|
|
dotenvy = { workspace = true }
|
|
|
|
hex = "0.4.3"
|
2023-05-04 20:12:54 +00:00
|
|
|
home = "0.5.5"
|
2023-02-02 00:47:29 +00:00
|
|
|
itoa = "1.0.1"
|
|
|
|
log = "0.4.17"
|
|
|
|
memchr = { version = "2.4.1", default-features = false }
|
|
|
|
num-bigint = { version = "0.4.3", optional = true }
|
|
|
|
once_cell = "1.9.0"
|
|
|
|
smallvec = "1.7.0"
|
|
|
|
stringprep = "0.1.2"
|
|
|
|
thiserror = "1.0.35"
|
2023-02-11 01:35:12 +00:00
|
|
|
tracing = { version = "0.1.37", features = ["log"] }
|
2023-02-14 20:06:06 +00:00
|
|
|
whoami = { version = "1.2.1", default-features = false }
|
2023-02-02 00:47:29 +00:00
|
|
|
|
|
|
|
serde = { version = "1.0.144", features = ["derive"] }
|
|
|
|
serde_json = { version = "1.0.85", features = ["raw_value"] }
|
|
|
|
|
|
|
|
[dependencies.sqlx-core]
|
2023-02-21 21:34:42 +00:00
|
|
|
workspace = true
|
2023-02-02 00:47:29 +00:00
|
|
|
# We use JSON in the driver implementation itself so there's no reason not to enable it here.
|
|
|
|
features = ["json"]
|
2023-05-04 20:12:54 +00:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
|
|
etcetera = "0.8.0"
|