diff -pruN 0.6.7-1/.cargo_vcs_info.json 0.6.8-1/.cargo_vcs_info.json
--- 0.6.7-1/.cargo_vcs_info.json	1970-01-01 00:00:01.000000000 +0000
+++ 0.6.8-1/.cargo_vcs_info.json	1970-01-01 00:00:01.000000000 +0000
@@ -1,6 +1,6 @@
 {
   "git": {
-    "sha1": "c3580774fcdc4597dac81e1128ef8bef1e6ff3a7"
+    "sha1": "966724c37784014a0e1f9d463c5c245102c75b33"
   },
   "path_in_vcs": "postgres-protocol"
 }
\ No newline at end of file
diff -pruN 0.6.7-1/CHANGELOG.md 0.6.8-1/CHANGELOG.md
--- 0.6.7-1/CHANGELOG.md	2006-07-24 01:21:28.000000000 +0000
+++ 0.6.8-1/CHANGELOG.md	2006-07-24 01:21:28.000000000 +0000
@@ -1,5 +1,11 @@
 # Change Log
 
+## v0.6.8 - 2025-02-02
+
+### Changed
+
+* Upgraded `getrandom`.
+
 ## v0.6.7 - 2024-07-21
 
 ### Deprecated
diff -pruN 0.6.7-1/Cargo.lock 0.6.8-1/Cargo.lock
--- 0.6.7-1/Cargo.lock	1970-01-01 00:00:00.000000000 +0000
+++ 0.6.8-1/Cargo.lock	1970-01-01 00:00:01.000000000 +0000
@@ -0,0 +1,485 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 4
+
+[[package]]
+name = "base64"
+version = "0.22.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
+
+[[package]]
+name = "bitflags"
+version = "2.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
+
+[[package]]
+name = "block-buffer"
+version = "0.10.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
+dependencies = [
+ "generic-array",
+]
+
+[[package]]
+name = "bumpalo"
+version = "3.16.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
+
+[[package]]
+name = "byteorder"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
+
+[[package]]
+name = "bytes"
+version = "1.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9"
+
+[[package]]
+name = "cfg-if"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+
+[[package]]
+name = "cpufeatures"
+version = "0.2.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "crypto-common"
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
+dependencies = [
+ "generic-array",
+ "typenum",
+]
+
+[[package]]
+name = "digest"
+version = "0.10.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
+dependencies = [
+ "block-buffer",
+ "crypto-common",
+ "subtle",
+]
+
+[[package]]
+name = "fallible-iterator"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7"
+
+[[package]]
+name = "generic-array"
+version = "0.14.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
+dependencies = [
+ "typenum",
+ "version_check",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8"
+dependencies = [
+ "cfg-if",
+ "js-sys",
+ "libc",
+ "wasi",
+ "wasm-bindgen",
+ "windows-targets",
+]
+
+[[package]]
+name = "hmac"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e"
+dependencies = [
+ "digest",
+]
+
+[[package]]
+name = "js-sys"
+version = "0.3.77"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
+dependencies = [
+ "once_cell",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "libc"
+version = "0.2.155"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
+
+[[package]]
+name = "log"
+version = "0.4.22"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
+
+[[package]]
+name = "md-5"
+version = "0.10.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf"
+dependencies = [
+ "cfg-if",
+ "digest",
+]
+
+[[package]]
+name = "memchr"
+version = "2.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
+
+[[package]]
+name = "once_cell"
+version = "1.19.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
+
+[[package]]
+name = "postgres-protocol"
+version = "0.6.8"
+dependencies = [
+ "base64",
+ "byteorder",
+ "bytes",
+ "fallible-iterator",
+ "getrandom",
+ "hmac",
+ "md-5",
+ "memchr",
+ "rand",
+ "sha2",
+ "stringprep",
+]
+
+[[package]]
+name = "ppv-lite86"
+version = "0.2.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
+
+[[package]]
+name = "proc-macro2"
+version = "1.0.86"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "quote"
+version = "1.0.36"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
+name = "rand"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3779b94aeb87e8bd4e834cee3650289ee9e0d5677f976ecdb6d219e5f4f6cd94"
+dependencies = [
+ "rand_chacha",
+ "rand_core",
+ "zerocopy",
+]
+
+[[package]]
+name = "rand_chacha"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
+dependencies = [
+ "ppv-lite86",
+ "rand_core",
+]
+
+[[package]]
+name = "rand_core"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b08f3c9802962f7e1b25113931d94f43ed9725bebc59db9d0c3e9a23b67e15ff"
+dependencies = [
+ "getrandom",
+ "zerocopy",
+]
+
+[[package]]
+name = "sha2"
+version = "0.10.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"
+dependencies = [
+ "cfg-if",
+ "cpufeatures",
+ "digest",
+]
+
+[[package]]
+name = "stringprep"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7b4df3d392d81bd458a8a621b8bffbd2302a12ffe288a9d931670948749463b1"
+dependencies = [
+ "unicode-bidi",
+ "unicode-normalization",
+ "unicode-properties",
+]
+
+[[package]]
+name = "subtle"
+version = "2.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
+
+[[package]]
+name = "syn"
+version = "2.0.69"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "201fcda3845c23e8212cd466bfebf0bd20694490fc0356ae8e428e0824a915a6"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
+name = "tinyvec"
+version = "1.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ce6b6a2fb3a985e99cebfaefa9faa3024743da73304ca1c683a36429613d3d22"
+dependencies = [
+ "tinyvec_macros",
+]
+
+[[package]]
+name = "tinyvec_macros"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
+
+[[package]]
+name = "typenum"
+version = "1.17.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
+
+[[package]]
+name = "unicode-bidi"
+version = "0.3.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75"
+
+[[package]]
+name = "unicode-ident"
+version = "1.0.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
+
+[[package]]
+name = "unicode-normalization"
+version = "0.1.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5"
+dependencies = [
+ "tinyvec",
+]
+
+[[package]]
+name = "unicode-properties"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e4259d9d4425d9f0661581b804cb85fe66a4c631cadd8f490d1c13a35d5d9291"
+
+[[package]]
+name = "version_check"
+version = "0.9.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
+
+[[package]]
+name = "wasi"
+version = "0.13.3+wasi-0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2"
+dependencies = [
+ "wit-bindgen-rt",
+]
+
+[[package]]
+name = "wasm-bindgen"
+version = "0.2.100"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
+dependencies = [
+ "cfg-if",
+ "once_cell",
+ "wasm-bindgen-macro",
+]
+
+[[package]]
+name = "wasm-bindgen-backend"
+version = "0.2.100"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
+dependencies = [
+ "bumpalo",
+ "log",
+ "proc-macro2",
+ "quote",
+ "syn",
+ "wasm-bindgen-shared",
+]
+
+[[package]]
+name = "wasm-bindgen-macro"
+version = "0.2.100"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
+dependencies = [
+ "quote",
+ "wasm-bindgen-macro-support",
+]
+
+[[package]]
+name = "wasm-bindgen-macro-support"
+version = "0.2.100"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+ "wasm-bindgen-backend",
+ "wasm-bindgen-shared",
+]
+
+[[package]]
+name = "wasm-bindgen-shared"
+version = "0.2.100"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "windows-targets"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
+dependencies = [
+ "windows_aarch64_gnullvm",
+ "windows_aarch64_msvc",
+ "windows_i686_gnu",
+ "windows_i686_gnullvm",
+ "windows_i686_msvc",
+ "windows_x86_64_gnu",
+ "windows_x86_64_gnullvm",
+ "windows_x86_64_msvc",
+]
+
+[[package]]
+name = "windows_aarch64_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
+
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
+
+[[package]]
+name = "windows_i686_gnu"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
+
+[[package]]
+name = "windows_i686_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
+
+[[package]]
+name = "windows_i686_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
+
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
+
+[[package]]
+name = "windows_x86_64_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
+
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+
+[[package]]
+name = "wit-bindgen-rt"
+version = "0.33.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c"
+dependencies = [
+ "bitflags",
+]
+
+[[package]]
+name = "zerocopy"
+version = "0.8.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a367f292d93d4eab890745e75a778da40909cab4d6ff8173693812f79c4a2468"
+dependencies = [
+ "zerocopy-derive",
+]
+
+[[package]]
+name = "zerocopy-derive"
+version = "0.8.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d3931cb58c62c13adec22e38686b559c86a30565e16ad6e8510a337cedc611e1"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
diff -pruN 0.6.7-1/Cargo.toml 0.6.8-1/Cargo.toml
--- 0.6.7-1/Cargo.toml	1970-01-01 00:00:01.000000000 +0000
+++ 0.6.8-1/Cargo.toml	1970-01-01 00:00:01.000000000 +0000
@@ -12,14 +12,24 @@
 [package]
 edition = "2018"
 name = "postgres-protocol"
-version = "0.6.7"
+version = "0.6.8"
 authors = ["Steven Fackler <sfackler@gmail.com>"]
+build = false
+autolib = false
+autobins = false
+autoexamples = false
+autotests = false
+autobenches = false
 description = "Low level Postgres protocol APIs"
 readme = "README.md"
 license = "MIT OR Apache-2.0"
 repository = "https://github.com/sfackler/rust-postgres"
 resolver = "2"
 
+[lib]
+name = "postgres_protocol"
+path = "src/lib.rs"
+
 [dependencies.base64]
 version = "0.22"
 
@@ -33,7 +43,7 @@ version = "1.0"
 version = "0.2"
 
 [dependencies.getrandom]
-version = "0.2"
+version = "0.3"
 optional = true
 
 [dependencies.hmac]
@@ -46,7 +56,7 @@ version = "0.10"
 version = "2.0"
 
 [dependencies.rand]
-version = "0.8"
+version = "0.9"
 
 [dependencies.sha2]
 version = "0.10"
@@ -56,4 +66,4 @@ version = "0.1"
 
 [features]
 default = []
-js = ["getrandom/js"]
+js = ["getrandom/wasm_js"]
diff -pruN 0.6.7-1/Cargo.toml.orig 0.6.8-1/Cargo.toml.orig
--- 0.6.7-1/Cargo.toml.orig	2006-07-24 01:21:28.000000000 +0000
+++ 0.6.8-1/Cargo.toml.orig	2006-07-24 01:21:28.000000000 +0000
@@ -1,6 +1,6 @@
 [package]
 name = "postgres-protocol"
-version = "0.6.7"
+version = "0.6.8"
 authors = ["Steven Fackler <sfackler@gmail.com>"]
 edition = "2018"
 description = "Low level Postgres protocol APIs"
@@ -10,7 +10,7 @@ readme = "../README.md"
 
 [features]
 default = []
-js = ["getrandom/js"]
+js = ["getrandom/wasm_js"]
 
 [dependencies]
 base64 = "0.22"
@@ -20,7 +20,7 @@ fallible-iterator = "0.2"
 hmac = "0.12"
 md-5 = "0.10"
 memchr = "2.0"
-rand = "0.8"
+rand = "0.9"
 sha2 = "0.10"
 stringprep = "0.1"
-getrandom = { version = "0.2", optional = true }
+getrandom = { version = "0.3", optional = true }
diff -pruN 0.6.7-1/debian/changelog 0.6.8-1/debian/changelog
--- 0.6.7-1/debian/changelog	2025-01-30 16:35:53.000000000 +0000
+++ 0.6.8-1/debian/changelog	2025-09-23 00:21:41.000000000 +0000
@@ -1,3 +1,12 @@
+rust-postgres-protocol (0.6.8-1) unstable; urgency=medium
+
+  * Team upload.
+  * Package postgres-protocol 0.6.8 from crates.io using debcargo 2.7.8
+  * Update disable-js.patch for new upstream.
+  * Add patch to support both versions 0.8 and 0.9 of rand.
+
+ -- Peter Michael Green <plugwash@debian.org>  Tue, 23 Sep 2025 00:21:41 +0000
+
 rust-postgres-protocol (0.6.7-1) unstable; urgency=medium
 
   * Team upload.
diff -pruN 0.6.7-1/debian/control 0.6.8-1/debian/control
--- 0.6.7-1/debian/control	2025-01-30 16:35:53.000000000 +0000
+++ 0.6.8-1/debian/control	2025-09-23 00:21:41.000000000 +0000
@@ -2,8 +2,8 @@ Source: rust-postgres-protocol
 Section: rust
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
- dh-sequence-cargo,
- cargo:native <!nocheck>,
+ dh-sequence-cargo
+Build-Depends-Arch: cargo:native <!nocheck>,
  rustc:native <!nocheck>,
  libstd-rust-dev <!nocheck>,
  librust-base64-0.22+default-dev <!nocheck>,
@@ -13,12 +13,13 @@ Build-Depends: debhelper-compat (= 13),
  librust-hmac-0.12+default-dev <!nocheck>,
  librust-md-5-0.10+default-dev <!nocheck>,
  librust-memchr-2+default-dev <!nocheck>,
- librust-rand-0.8+default-dev <!nocheck>,
+ librust-rand+default-dev (<< 0.10-~~) <!nocheck>,
+ librust-rand+default-dev (>= 0.8.5-~~) <!nocheck>,
  librust-sha2-0.10+default-dev <!nocheck>,
  librust-stringprep-0.1+default-dev <!nocheck>
 Maintainer: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
 Uploaders:
- Blair Noctis <n@sail.ng>
+ Blair Noctis <ncts@debian.org>
 Standards-Version: 4.7.0
 Vcs-Git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/postgres-protocol]
 Vcs-Browser: https://salsa.debian.org/rust-team/debcargo-conf/tree/master/src/postgres-protocol
@@ -38,7 +39,8 @@ Depends:
  librust-hmac-0.12+default-dev,
  librust-md-5-0.10+default-dev,
  librust-memchr-2+default-dev,
- librust-rand-0.8+default-dev,
+ librust-rand+default-dev (<< 0.10-~~),
+ librust-rand+default-dev (>= 0.8.5-~~),
  librust-sha2-0.10+default-dev,
  librust-stringprep-0.1+default-dev
 Provides:
@@ -47,7 +49,7 @@ Provides:
  librust-postgres-protocol-0+default-dev (= ${binary:Version}),
  librust-postgres-protocol-0.6-dev (= ${binary:Version}),
  librust-postgres-protocol-0.6+default-dev (= ${binary:Version}),
- librust-postgres-protocol-0.6.7-dev (= ${binary:Version}),
- librust-postgres-protocol-0.6.7+default-dev (= ${binary:Version})
+ librust-postgres-protocol-0.6.8-dev (= ${binary:Version}),
+ librust-postgres-protocol-0.6.8+default-dev (= ${binary:Version})
 Description: Low level Postgres protocol APIs - Rust source code
  Source code for Debianized Rust crate "postgres-protocol"
diff -pruN 0.6.7-1/debian/copyright 0.6.8-1/debian/copyright
--- 0.6.7-1/debian/copyright	2025-01-30 16:35:53.000000000 +0000
+++ 0.6.8-1/debian/copyright	2025-09-23 00:21:41.000000000 +0000
@@ -10,7 +10,7 @@ License: MIT or Apache-2.0
 Files: debian/*
 Copyright:
  2022-2025 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
- 2022 Blair Noctis <n@sail.ng>
+ 2022 Blair Noctis <ncts@debian.org>
 License: MIT or Apache-2.0
 
 License: Apache-2.0
diff -pruN 0.6.7-1/debian/copyright.debcargo.hint 0.6.8-1/debian/copyright.debcargo.hint
--- 0.6.7-1/debian/copyright.debcargo.hint	2025-01-30 16:35:53.000000000 +0000
+++ 0.6.8-1/debian/copyright.debcargo.hint	2025-09-23 00:21:41.000000000 +0000
@@ -22,7 +22,7 @@ Comment:
 Files: debian/*
 Copyright:
  2022-2025 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
- 2022-2025 Blair Noctis <n@sail.ng>
+ 2022-2025 Blair Noctis <ncts@debian.org>
 License: MIT or Apache-2.0
 
 License: Apache-2.0
diff -pruN 0.6.7-1/debian/debcargo.toml 0.6.8-1/debian/debcargo.toml
--- 0.6.7-1/debian/debcargo.toml	2025-01-30 16:35:53.000000000 +0000
+++ 0.6.8-1/debian/debcargo.toml	2025-09-23 00:21:41.000000000 +0000
@@ -1,2 +1,2 @@
 overlay = "."
-uploaders = ["Blair Noctis <n@sail.ng>"]
+uploaders = ["Blair Noctis <ncts@debian.org>"]
diff -pruN 0.6.7-1/debian/patches/disable-js.patch 0.6.8-1/debian/patches/disable-js.patch
--- 0.6.7-1/debian/patches/disable-js.patch	2025-01-30 16:35:53.000000000 +0000
+++ 0.6.8-1/debian/patches/disable-js.patch	2025-09-23 00:21:41.000000000 +0000
@@ -7,7 +7,7 @@ Index: postgres-protocol/Cargo.toml
  version = "0.2"
  
 -[dependencies.getrandom]
--version = "0.2"
+-version = "0.3"
 -optional = true
 -
  [dependencies.hmac]
@@ -17,4 +17,4 @@ Index: postgres-protocol/Cargo.toml
  
  [features]
  default = []
--js = ["getrandom/js"]
+-js = ["getrandom/wasm_js"]
diff -pruN 0.6.7-1/debian/patches/rand-0.8.patch 0.6.8-1/debian/patches/rand-0.8.patch
--- 0.6.7-1/debian/patches/rand-0.8.patch	1970-01-01 00:00:00.000000000 +0000
+++ 0.6.8-1/debian/patches/rand-0.8.patch	2025-09-23 00:21:41.000000000 +0000
@@ -0,0 +1,43 @@
+Index: postgres-protocol/src/authentication/sasl.rs
+===================================================================
+--- postgres-protocol.orig/src/authentication/sasl.rs
++++ postgres-protocol/src/authentication/sasl.rs
+@@ -136,10 +136,10 @@ impl ScramSha256 {
+     /// Constructs a new instance which will use the provided password for authentication.
+     pub fn new(password: &[u8], channel_binding: ChannelBinding) -> ScramSha256 {
+         // rand 0.5's ThreadRng is cryptographically secure
+-        let mut rng = rand::rng();
++        let mut rng = rand::thread_rng();
+         let nonce = (0..NONCE_LENGTH)
+             .map(|_| {
+-                let mut v = rng.random_range(0x21u8..0x7e);
++                let mut v = rng.gen_range(0x21u8..0x7e);
+                 if v == 0x2c {
+                     v = 0x7e
+                 }
+Index: postgres-protocol/src/password/mod.rs
+===================================================================
+--- postgres-protocol.orig/src/password/mod.rs
++++ postgres-protocol/src/password/mod.rs
+@@ -28,7 +28,7 @@ const SCRAM_DEFAULT_SALT_LEN: usize = 16
+ /// special characters that would require escaping in an SQL command.
+ pub fn scram_sha_256(password: &[u8]) -> String {
+     let mut salt: [u8; SCRAM_DEFAULT_SALT_LEN] = [0; SCRAM_DEFAULT_SALT_LEN];
+-    let mut rng = rand::rng();
++    let mut rng = rand::thread_rng();
+     rng.fill_bytes(&mut salt);
+     scram_sha_256_salt(password, salt)
+ }
+Index: postgres-protocol/Cargo.toml
+===================================================================
+--- postgres-protocol.orig/Cargo.toml
++++ postgres-protocol/Cargo.toml
+@@ -52,7 +52,7 @@ version = "0.10"
+ version = "2.0"
+ 
+ [dependencies.rand]
+-version = "0.9"
++version = ">= 0.8.5, < 0.10"
+ 
+ [dependencies.sha2]
+ version = "0.10"
diff -pruN 0.6.7-1/debian/patches/series 0.6.8-1/debian/patches/series
--- 0.6.7-1/debian/patches/series	2025-01-30 16:35:53.000000000 +0000
+++ 0.6.8-1/debian/patches/series	2025-09-23 00:21:41.000000000 +0000
@@ -1,2 +1,3 @@
 disable-js.patch
 relax-dep.patch
+rand-0.8.patch
diff -pruN 0.6.7-1/debian/tests/control 0.6.8-1/debian/tests/control
--- 0.6.7-1/debian/tests/control	2025-01-30 16:35:53.000000000 +0000
+++ 0.6.8-1/debian/tests/control	2025-09-23 00:21:41.000000000 +0000
@@ -1,14 +1,14 @@
-Test-Command: /usr/share/cargo/bin/cargo-auto-test postgres-protocol 0.6.7 --all-targets --all-features
+Test-Command: /usr/share/cargo/bin/cargo-auto-test postgres-protocol 0.6.8 --all-targets --all-features
 Features: test-name=rust-postgres-protocol:@
 Depends: dh-cargo (>= 31), rustc, @
 Restrictions: allow-stderr, skip-not-installable
 
-Test-Command: /usr/share/cargo/bin/cargo-auto-test postgres-protocol 0.6.7 --all-targets
+Test-Command: /usr/share/cargo/bin/cargo-auto-test postgres-protocol 0.6.8 --all-targets
 Features: test-name=librust-postgres-protocol-dev:default
 Depends: dh-cargo (>= 31), rustc, @
 Restrictions: allow-stderr, skip-not-installable
 
-Test-Command: /usr/share/cargo/bin/cargo-auto-test postgres-protocol 0.6.7 --all-targets --no-default-features
+Test-Command: /usr/share/cargo/bin/cargo-auto-test postgres-protocol 0.6.8 --all-targets --no-default-features
 Features: test-name=librust-postgres-protocol-dev:
 Depends: dh-cargo (>= 31), rustc, @
 Restrictions: allow-stderr, skip-not-installable
diff -pruN 0.6.7-1/src/authentication/sasl.rs 0.6.8-1/src/authentication/sasl.rs
--- 0.6.7-1/src/authentication/sasl.rs	2006-07-24 01:21:28.000000000 +0000
+++ 0.6.8-1/src/authentication/sasl.rs	2006-07-24 01:21:28.000000000 +0000
@@ -136,10 +136,10 @@ impl ScramSha256 {
     /// Constructs a new instance which will use the provided password for authentication.
     pub fn new(password: &[u8], channel_binding: ChannelBinding) -> ScramSha256 {
         // rand 0.5's ThreadRng is cryptographically secure
-        let mut rng = rand::thread_rng();
+        let mut rng = rand::rng();
         let nonce = (0..NONCE_LENGTH)
             .map(|_| {
-                let mut v = rng.gen_range(0x21u8..0x7e);
+                let mut v = rng.random_range(0x21u8..0x7e);
                 if v == 0x2c {
                     v = 0x7e
                 }
diff -pruN 0.6.7-1/src/message/backend.rs 0.6.8-1/src/message/backend.rs
--- 0.6.7-1/src/message/backend.rs	2006-07-24 01:21:28.000000000 +0000
+++ 0.6.8-1/src/message/backend.rs	2006-07-24 01:21:28.000000000 +0000
@@ -475,7 +475,7 @@ pub struct ColumnFormats<'a> {
     remaining: u16,
 }
 
-impl<'a> FallibleIterator for ColumnFormats<'a> {
+impl FallibleIterator for ColumnFormats<'_> {
     type Item = u16;
     type Error = io::Error;
 
@@ -557,7 +557,7 @@ pub struct DataRowRanges<'a> {
     remaining: u16,
 }
 
-impl<'a> FallibleIterator for DataRowRanges<'a> {
+impl FallibleIterator for DataRowRanges<'_> {
     type Item = Option<Range<usize>>;
     type Error = io::Error;
 
@@ -645,7 +645,7 @@ pub struct ErrorField<'a> {
     value: &'a [u8],
 }
 
-impl<'a> ErrorField<'a> {
+impl ErrorField<'_> {
     #[inline]
     pub fn type_(&self) -> u8 {
         self.type_
@@ -717,7 +717,7 @@ pub struct Parameters<'a> {
     remaining: u16,
 }
 
-impl<'a> FallibleIterator for Parameters<'a> {
+impl FallibleIterator for Parameters<'_> {
     type Item = Oid;
     type Error = io::Error;
 
diff -pruN 0.6.7-1/src/password/mod.rs 0.6.8-1/src/password/mod.rs
--- 0.6.7-1/src/password/mod.rs	2006-07-24 01:21:28.000000000 +0000
+++ 0.6.8-1/src/password/mod.rs	2006-07-24 01:21:28.000000000 +0000
@@ -28,7 +28,7 @@ const SCRAM_DEFAULT_SALT_LEN: usize = 16
 /// special characters that would require escaping in an SQL command.
 pub fn scram_sha_256(password: &[u8]) -> String {
     let mut salt: [u8; SCRAM_DEFAULT_SALT_LEN] = [0; SCRAM_DEFAULT_SALT_LEN];
-    let mut rng = rand::thread_rng();
+    let mut rng = rand::rng();
     rng.fill_bytes(&mut salt);
     scram_sha_256_salt(password, salt)
 }
diff -pruN 0.6.7-1/src/types/mod.rs 0.6.8-1/src/types/mod.rs
--- 0.6.7-1/src/types/mod.rs	2006-07-24 01:21:28.000000000 +0000
+++ 0.6.8-1/src/types/mod.rs	2006-07-24 01:21:28.000000000 +0000
@@ -582,7 +582,7 @@ impl<'a> Array<'a> {
 /// An iterator over the dimensions of an array.
 pub struct ArrayDimensions<'a>(&'a [u8]);
 
-impl<'a> FallibleIterator for ArrayDimensions<'a> {
+impl FallibleIterator for ArrayDimensions<'_> {
     type Item = ArrayDimension;
     type Error = StdBox<dyn Error + Sync + Send>;
 
@@ -950,7 +950,7 @@ pub struct PathPoints<'a> {
     buf: &'a [u8],
 }
 
-impl<'a> FallibleIterator for PathPoints<'a> {
+impl FallibleIterator for PathPoints<'_> {
     type Item = Point;
     type Error = StdBox<dyn Error + Sync + Send>;
 
