# @generated by `cargo buckal`
load("@buckal//:cargo_manifest.bzl", "cargo_manifest")
load("@buckal//:wrapper.bzl", "rust_library")
http_archive(
name = "sqlx-postgres-vendor",
urls = ["https://static.crates.io/crates/sqlx-postgres/sqlx-postgres-0.8.6.crate"],
sha256 = "db58fcd5a53cf07c184b154801ff91347e4c30d17a3562a635ff028ad5deda46",
type = "tar.gz",
strip_prefix = "sqlx-postgres-0.8.6",
out = "vendor",
)
cargo_manifest(
name = "sqlx-postgres-manifest",
vendor = ":sqlx-postgres-vendor",
)
rust_library(
name = "sqlx-postgres",
srcs = [":sqlx-postgres-vendor"],
crate = "sqlx_postgres",
crate_root = "vendor/src/lib.rs",
edition = "2021",
features = [
"bigdecimal",
"chrono",
"json",
"migrate",
"offline",
"rust_decimal",
"time",
"uuid",
],
rustc_flags = ["@$(location :sqlx-postgres-manifest[env_flags])"],
named_deps = {
"md5": "//third-party/rust/crates/md-5/0.10.6:md-5",
},
os_deps = {
"windows": ["//third-party/rust/crates/etcetera/0.8.0:etcetera"],
},
visibility = ["PUBLIC"],
deps = [
"//third-party/rust/crates/atoi/2.0.0:atoi",
"//third-party/rust/crates/base64/0.22.1:base64",
"//third-party/rust/crates/bigdecimal/0.4.9:bigdecimal",
"//third-party/rust/crates/bitflags/2.10.0:bitflags",
"//third-party/rust/crates/byteorder/1.5.0:byteorder",
"//third-party/rust/crates/chrono/0.4.44:chrono",
"//third-party/rust/crates/crc/3.4.0:crc",
"//third-party/rust/crates/dotenvy/0.15.7:dotenvy",
"//third-party/rust/crates/futures-channel/0.3.32:futures-channel",
"//third-party/rust/crates/futures-core/0.3.32:futures-core",
"//third-party/rust/crates/futures-util/0.3.32:futures-util",
"//third-party/rust/crates/hex/0.4.3:hex",
"//third-party/rust/crates/hkdf/0.12.4:hkdf",
"//third-party/rust/crates/hmac/0.12.1:hmac",
"//third-party/rust/crates/home/0.5.12:home",
"//third-party/rust/crates/itoa/1.0.15:itoa",
"//third-party/rust/crates/log/0.4.29:log",
"//third-party/rust/crates/memchr/2.8.0:memchr",
"//third-party/rust/crates/num-bigint/0.4.6:num-bigint",
"//third-party/rust/crates/once_cell/1.21.3:once_cell",
"//third-party/rust/crates/rand/0.8.5:rand",
"//third-party/rust/crates/rust_decimal/1.39.0:rust_decimal",
"//third-party/rust/crates/serde/1.0.228:serde",
"//third-party/rust/crates/serde_json/1.0.149:serde_json",
"//third-party/rust/crates/sha2/0.10.9:sha2",
"//third-party/rust/crates/smallvec/1.15.1:smallvec",
"//third-party/rust/crates/sqlx-core/0.8.6:sqlx-core",
"//third-party/rust/crates/stringprep/0.1.5:stringprep",
"//third-party/rust/crates/thiserror/2.0.18:thiserror",
"//third-party/rust/crates/time/0.3.44:time",
"//third-party/rust/crates/tracing/0.1.44:tracing",
"//third-party/rust/crates/uuid/1.22.0:uuid",
"//third-party/rust/crates/whoami/1.6.1:whoami",
],
)