Skip to content

Commit

Permalink
Use heapless 0.8 (#1495)
Browse files Browse the repository at this point in the history
Note this is an API break for users of heapless because we expose this
in our own public API and they need to match the types and such. We
should probably constrain this problem more by reexporting the relevant
crates, so pgrx's users can simply use the reexported types and traits.
  • Loading branch information
workingjubilee authored Jan 25, 2024
1 parent 499af5e commit ea78a5b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 37 deletions.
40 changes: 5 additions & 35 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pgrx-examples/shmem/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pg16 = ["pgrx/pg16", "pgrx-tests/pg16" ]
pg_test = []

[dependencies]
heapless = "0.7.16"
heapless = "0.8"
pgrx = { path = "../../pgrx", default-features = false }
serde = { version = "1.0", features = [ "derive" ] }

Expand Down
2 changes: 1 addition & 1 deletion pgrx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ thiserror = "1.0"
atomic-traits = "0.3.0" # PgAtomic and shmem init
bitflags = "2.4.0" # BackgroundWorker
bitvec = "1.0" # processing array nullbitmaps
heapless = "0.7.16" # shmem and PgLwLock
heapless = "0.8" # shmem and PgLwLock
libc = "0.2.149" # FFI type compat
seahash = "4.1.0" # derive(PostgresHash)
serde = { version = "1.0", features = [ "derive" ] } # impls on pub types
Expand Down

0 comments on commit ea78a5b

Please sign in to comment.