mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-14 00:42:54 +00:00
## Problem The approach of having CancelMap as an in-memory structure increases code complexity, as well as putting additional load for Redis streams. ## Summary of changes - Implement a set of KV ops for Redis client; - Remove cancel notifications code; - Send KV ops over the bounded channel to the handling background task for removing and adding the cancel keys. Closes #9660
22 lines
678 B
TOML
22 lines
678 B
TOML
[package]
|
|
name = "tokio-postgres2"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT/Apache-2.0"
|
|
|
|
[dependencies]
|
|
async-trait.workspace = true
|
|
bytes.workspace = true
|
|
byteorder.workspace = true
|
|
fallible-iterator.workspace = true
|
|
futures-util = { workspace = true, features = ["sink"] }
|
|
log = "0.4"
|
|
parking_lot.workspace = true
|
|
percent-encoding = "2.0"
|
|
pin-project-lite.workspace = true
|
|
phf = "0.11"
|
|
postgres-protocol2 = { path = "../postgres-protocol2" }
|
|
postgres-types2 = { path = "../postgres-types2" }
|
|
tokio = { workspace = true, features = ["io-util", "time", "net"] }
|
|
tokio-util = { workspace = true, features = ["codec"] }
|
|
serde = { workspace = true, features = ["derive"] } |