Skip to content

Is it possible to cut a new release for postgres-types? #1235

@TimDiekmann

Description

@TimDiekmann

Hi and thank you for your work on these amazing crates!
Is it possible to cut a new release for Postgres-types? I'm mainly interested in the support of jiff@0.2.

Thank you very much!

Activity

NOBLES5E

NOBLES5E commented on Jul 15, 2025

@NOBLES5E
visortelle

visortelle commented on Aug 20, 2025

@visortelle

I'm mainly interested in the support of jiff@0.2

me too

reneleonhardt

reneleonhardt commented on Aug 20, 2025

@reneleonhardt

With 50 open contributions and 100 open issues and the last release 6 months old I wouldn't hold my breath... clearly not enough maintainers and no free AI review helper configured.

reneleonhardt

reneleonhardt commented on Aug 20, 2025

@reneleonhardt

cargo upgrade reports:

Checking codegen's dependencies
name        old req compatible latest new req
====        ======= ========== ====== =======
phf_codegen 0.11    0.11.3     0.12.1 0.12   

Checking postgres's dependencies
name              old req compatible latest new req
====              ======= ========== ====== =======
fallible-iterator 0.2     0.2.0      0.3.0  0.3    
criterion         0.6     0.6.0      0.7.0  0.7    

Checking postgres-protocol's dependencies
name              old req compatible latest new req
====              ======= ========== ====== =======
fallible-iterator 0.2     0.2.0      0.3.0  0.3    

Checking postgres-types's dependencies
name              old req compatible latest new req
====              ======= ========== ====== =======
fallible-iterator 0.2     0.2.0      0.3.0  0.3    

Checking tokio-postgres's dependencies
name              old req compatible latest new req
====              ======= ========== ====== =======
fallible-iterator 0.2     0.2.0      0.3.0  0.3    
phf               0.11    0.11.3     0.12.1 0.12   
socket2           0.5     0.5.10     0.6.0  0.6    
criterion         0.6     0.6.0      0.7.0  0.7    

Git diff:

diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml
index bbe6b789..5a32a3e9 100644
--- a/codegen/Cargo.toml
+++ b/codegen/Cargo.toml
@@ -4,7 +4,7 @@ version = "0.1.0"
 authors = ["Steven Fackler <sfackler@gmail.com>"]
 
 [dependencies]
-phf_codegen = "0.11"
+phf_codegen = "0.12"
 regex = "1.0"
 marksman_escape = "0.1"
 linked-hash-map = "0.5"
diff --git a/codegen/src/sqlstate.rs b/codegen/src/sqlstate.rs
index d21b92ee..d467060a 100644
--- a/codegen/src/sqlstate.rs
+++ b/codegen/src/sqlstate.rs
@@ -139,7 +139,7 @@ enum Inner {{"#,
 fn make_map(codes: &LinkedHashMap<String, Vec<String>>, file: &mut BufWriter<File>) {
     let mut builder = phf_codegen::Map::new();
     for (code, names) in codes {
-        builder.entry(&**code, &format!("SqlState::{}", &names[0]));
+        builder.entry(&**code, format!("SqlState::{}", &names[0]).clone());
     }
     write!(
         file,
diff --git a/docker-compose.yml b/docker-compose.yml
index 991df2d0..fc02224e 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,9 +1,9 @@
 version: '2'
 services:
   postgres:
-    image: docker.io/postgres:17
+    image: docker.io/postgres:17-alpine
     ports:
-      - 5433:5433
+      - "5433:5433"
     volumes:
       - ./docker/sql_setup.sh:/docker-entrypoint-initdb.d/sql_setup.sh
     environment:
diff --git a/postgres-protocol/Cargo.toml b/postgres-protocol/Cargo.toml
index 9351ea14..ad065a73 100644
--- a/postgres-protocol/Cargo.toml
+++ b/postgres-protocol/Cargo.toml
@@ -16,7 +16,7 @@ js = ["getrandom/wasm_js"]
 base64 = "0.22"
 byteorder = "1.0"
 bytes = "1.0"
-fallible-iterator = "0.2"
+fallible-iterator = "0.3"
 hmac = "0.12"
 md-5 = "0.10"
 memchr = "2.0"
diff --git a/postgres-types/Cargo.toml b/postgres-types/Cargo.toml
index d6527f3b..d8b54caf 100644
--- a/postgres-types/Cargo.toml
+++ b/postgres-types/Cargo.toml
@@ -33,7 +33,7 @@ with-time-0_3 = ["time-03"]
 
 [dependencies]
 bytes = "1.0"
-fallible-iterator = "0.2"
+fallible-iterator = "0.3"
 postgres-protocol = { version = "0.6.8", path = "../postgres-protocol" }
 postgres-derive = { version = "0.4.6", optional = true, path = "../postgres-derive" }
 
diff --git a/postgres/Cargo.toml b/postgres/Cargo.toml
index 456bfb80..c5214371 100644
--- a/postgres/Cargo.toml
+++ b/postgres/Cargo.toml
@@ -41,11 +41,11 @@ with-time-0_3 = ["tokio-postgres/with-time-0_3"]
 
 [dependencies]
 bytes = "1.0"
-fallible-iterator = "0.2"
+fallible-iterator = "0.3"
 futures-util = { version = "0.3.14", features = ["sink"] }
 log = "0.4"
 tokio-postgres = { version = "0.7.13", path = "../tokio-postgres" }
 tokio = { version = "1.0", features = ["rt", "time"] }
 
 [dev-dependencies]
-criterion = "0.6"
+criterion = "0.7"
diff --git a/tokio-postgres/Cargo.toml b/tokio-postgres/Cargo.toml
index f969ae5b..140748e0 100644
--- a/tokio-postgres/Cargo.toml
+++ b/tokio-postgres/Cargo.toml
@@ -50,14 +50,14 @@ js = ["postgres-protocol/js", "postgres-types/js"]
 async-trait = "0.1"
 bytes = "1.0"
 byteorder = "1.0"
-fallible-iterator = "0.2"
+fallible-iterator = "0.3"
 futures-channel = { version = "0.3", features = ["sink"] }
 futures-util = { version = "0.3", features = ["sink"] }
 log = "0.4"
 parking_lot = "0.12"
 percent-encoding = "2.0"
 pin-project-lite = "0.2"
-phf = "0.11"
+phf = "0.12"
 postgres-protocol = { version = "0.6.8", path = "../postgres-protocol" }
 postgres-types = { version = "0.2.9", path = "../postgres-types" }
 tokio = { version = "1.27", features = ["io-util"] }
@@ -66,11 +66,11 @@ rand = "0.9.0"
 whoami = "1.4.1"
 
 [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
-socket2 = { version = "0.5", features = ["all"] }
+socket2 = { version = "0.6", features = ["all"] }
 
 [dev-dependencies]
 futures-executor = "0.3"
-criterion = "0.6"
+criterion = "0.7"
 env_logger = "0.11"
 tokio = { version = "1.0", features = [
     "macros",
paolobarbolini

paolobarbolini commented on Aug 20, 2025

@paolobarbolini
Member

and no free AI review helper configured.

If I were the maintainer I wouldn't be taking us seriously right now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @paolobarbolini@visortelle@NOBLES5E@TimDiekmann@reneleonhardt

        Issue actions

          Is it possible to cut a new release for `postgres-types`? · Issue #1235 · rust-postgres/rust-postgres