| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
name = "sqlx-postgres" |
| 15 |
version = "0.8.3" |
| 16 |
authors = [ |
| 17 |
"Ryan Leckey <[email protected]>", |
| 18 |
"Austin Bonander <[email protected]>", |
| 19 |
"Chloe Ross <[email protected]>", |
| 20 |
"Daniel Akhterov <[email protected]>", |
| 21 |
] |
| 22 |
description = "PostgreSQL driver implementation for SQLx. Not for direct use; see the `sqlx` crate for details." |
| 23 |
documentation = "https://docs.rs/sqlx" |
| 24 |
license = "MIT OR Apache-2.0" |
| 25 |
repository = "https://github.com/launchbadge/sqlx" |
| 26 |
|
| 27 |
[lib] |
| 28 |
doctest = false |
| 29 |
|
| 30 |
[dependencies.atoi] |
| 31 |
version = "2.0" |
| 32 |
|
| 33 |
[dependencies.base64] |
| 34 |
version = ">= 0.21.7, < 1.0" |
| 35 |
features = ["std"] |
| 36 |
default-features = false |
| 37 |
|
| 38 |
[dependencies.bigdecimal] |
| 39 |
version = ">=0.3.0" |
| 40 |
optional = true |
| 41 |
|
| 42 |
[dependencies.bit-vec] |
| 43 |
version = "0.8" |
| 44 |
optional = true |
| 45 |
|
| 46 |
[dependencies.bitflags] |
| 47 |
version = "2" |
| 48 |
default-features = false |
| 49 |
|
| 50 |
[dependencies.byteorder] |
| 51 |
version = "1.4.3" |
| 52 |
features = ["std"] |
| 53 |
default-features = false |
| 54 |
|
| 55 |
[dependencies.chrono] |
| 56 |
version = "0.4.34" |
| 57 |
features = [ |
| 58 |
"std", |
| 59 |
"clock", |
| 60 |
] |
| 61 |
optional = true |
| 62 |
default-features = false |
| 63 |
|
| 64 |
[dependencies.crc] |
| 65 |
version = "3.0.0" |
| 66 |
|
| 67 |
[dependencies.dotenvy] |
| 68 |
version = "0.15.0" |
| 69 |
default-features = false |
| 70 |
|
| 71 |
[dependencies.futures-channel] |
| 72 |
version = "0.3.19" |
| 73 |
features = [ |
| 74 |
"sink", |
| 75 |
"alloc", |
| 76 |
"std", |
| 77 |
] |
| 78 |
default-features = false |
| 79 |
|
| 80 |
[dependencies.futures-core] |
| 81 |
version = "0.3.19" |
| 82 |
default-features = false |
| 83 |
|
| 84 |
[dependencies.futures-util] |
| 85 |
version = "0.3.19" |
| 86 |
features = [ |
| 87 |
"alloc", |
| 88 |
"sink", |
| 89 |
"io", |
| 90 |
] |
| 91 |
default-features = false |
| 92 |
|
| 93 |
[dependencies.hex] |
| 94 |
version = "0.4.3" |
| 95 |
|
| 96 |
[dependencies.hkdf] |
| 97 |
version = "0.12.0" |
| 98 |
|
| 99 |
[dependencies.hmac] |
| 100 |
version = "0.12.0" |
| 101 |
features = ["reset"] |
| 102 |
default-features = false |
| 103 |
|
| 104 |
[dependencies.home] |
| 105 |
version = "0.5.5" |
| 106 |
|
| 107 |
[dependencies.ipnetwork] |
| 108 |
version = ">= 0.17, < 1.0" |
| 109 |
optional = true |
| 110 |
|
| 111 |
[dependencies.itoa] |
| 112 |
version = "1.0.1" |
| 113 |
|
| 114 |
[dependencies.log] |
| 115 |
version = "0.4.18" |
| 116 |
|
| 117 |
[dependencies.mac_address] |
| 118 |
version = "1.1.5" |
| 119 |
optional = true |
| 120 |
|
| 121 |
[dependencies.md-5] |
| 122 |
version = "0.10.0" |
| 123 |
default-features = false |
| 124 |
|
| 125 |
[dependencies.memchr] |
| 126 |
version = "2.4.1" |
| 127 |
default-features = false |
| 128 |
|
| 129 |
[dependencies.num-bigint] |
| 130 |
version = "0.4.3" |
| 131 |
optional = true |
| 132 |
|
| 133 |
[dependencies.once_cell] |
| 134 |
version = "1.9.0" |
| 135 |
|
| 136 |
[dependencies.rand] |
| 137 |
version = "0.8.4" |
| 138 |
features = [ |
| 139 |
"std", |
| 140 |
"std_rng", |
| 141 |
] |
| 142 |
default-features = false |
| 143 |
|
| 144 |
[dependencies.rust_decimal] |
| 145 |
version = "1.26.1" |
| 146 |
features = ["std"] |
| 147 |
optional = true |
| 148 |
default-features = false |
| 149 |
|
| 150 |
[dependencies.serde] |
| 151 |
version = "1.0.144" |
| 152 |
features = ["derive"] |
| 153 |
|
| 154 |
[dependencies.serde_json] |
| 155 |
version = "1.0.85" |
| 156 |
features = ["raw_value"] |
| 157 |
|
| 158 |
[dependencies.sha2] |
| 159 |
version = "0.10.0" |
| 160 |
default-features = false |
| 161 |
|
| 162 |
[dependencies.smallvec] |
| 163 |
version = "1.7.0" |
| 164 |
features = ["serde"] |
| 165 |
|
| 166 |
[dependencies.sqlx-core] |
| 167 |
version = "=0.8.3" |
| 168 |
features = ["json"] |
| 169 |
|
| 170 |
[dependencies.stringprep] |
| 171 |
version = "0.1.2" |
| 172 |
|
| 173 |
[dependencies.thiserror] |
| 174 |
version = "2.0.0" |
| 175 |
|
| 176 |
[dependencies.time] |
| 177 |
version = "0.3.36" |
| 178 |
features = [ |
| 179 |
"formatting", |
| 180 |
"parsing", |
| 181 |
"macros", |
| 182 |
] |
| 183 |
optional = true |
| 184 |
|
| 185 |
[dependencies.tracing] |
| 186 |
version = "0.1.37" |
| 187 |
features = ["log"] |
| 188 |
|
| 189 |
[dependencies.uuid] |
| 190 |
version = "1.1.2" |
| 191 |
optional = true |
| 192 |
|
| 193 |
[dependencies.whoami] |
| 194 |
version = "1.2.1" |
| 195 |
default-features = false |
| 196 |
|
| 197 |
[dev-dependencies.sqlx] |
| 198 |
version = "=0.8.3" |
| 199 |
features = [ |
| 200 |
"postgres", |
| 201 |
"derive", |
| 202 |
] |
| 203 |
default-features = false |
| 204 |
|
| 205 |
[features] |
| 206 |
any = ["sqlx-core/any"] |
| 207 |
bigdecimal = [ |
| 208 |
"dep:bigdecimal", |
| 209 |
"dep:num-bigint", |
| 210 |
"sqlx-core/bigdecimal", |
| 211 |
] |
| 212 |
bit-vec = [ |
| 213 |
"dep:bit-vec", |
| 214 |
"sqlx-core/bit-vec", |
| 215 |
] |
| 216 |
chrono = [ |
| 217 |
"dep:chrono", |
| 218 |
"sqlx-core/chrono", |
| 219 |
] |
| 220 |
ipnetwork = [ |
| 221 |
"dep:ipnetwork", |
| 222 |
"sqlx-core/ipnetwork", |
| 223 |
] |
| 224 |
json = ["sqlx-core/json"] |
| 225 |
mac_address = [ |
| 226 |
"dep:mac_address", |
| 227 |
"sqlx-core/mac_address", |
| 228 |
] |
| 229 |
migrate = ["sqlx-core/migrate"] |
| 230 |
offline = ["sqlx-core/offline"] |
| 231 |
rust_decimal = [ |
| 232 |
"dep:rust_decimal", |
| 233 |
"rust_decimal/maths", |
| 234 |
"sqlx-core/rust_decimal", |
| 235 |
] |
| 236 |
time = [ |
| 237 |
"dep:time", |
| 238 |
"sqlx-core/time", |
| 239 |
] |
| 240 |
uuid = [ |
| 241 |
"dep:uuid", |
| 242 |
"sqlx-core/uuid", |
| 243 |
] |
| 244 |
|
| 245 |
[target."cfg(target_os = \"windows\")".dependencies.etcetera] |
| 246 |
version = ">= 0.10, < 0.12" |
| 247 |
|
| 248 |
[lints.clippy] |
| 249 |
cast_possible_truncation = "deny" |
| 250 |
cast_possible_wrap = "deny" |
| 251 |
cast_sign_loss = "deny" |
| 252 |
disallowed_methods = "deny" |