mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-04 03:52:56 +00:00
put subzero dependency under a feature flag
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -7107,6 +7107,7 @@ checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc"
|
||||
[[package]]
|
||||
name = "subzero-core"
|
||||
version = "3.0.1"
|
||||
source = "git+https://github.com/neondatabase-labs/subzero?rev=35e8f59d57404f57cbc84f7c486cbbc147602c98#35e8f59d57404f57cbc84f7c486cbbc147602c98"
|
||||
dependencies = [
|
||||
"base64 0.22.1",
|
||||
"csv",
|
||||
|
||||
@@ -207,9 +207,6 @@ tonic = { version = "0.13.1", default-features = false, features = ["channel", "
|
||||
tonic-reflection = { version = "0.13.1", features = ["server"] }
|
||||
tower = { version = "0.5.2", default-features = false }
|
||||
tower-http = { version = "0.6.2", features = ["auth", "request-id", "trace"] }
|
||||
subzero-core = { version = "3.0.1", path = "../subzero/core", features = ["postgresql"] }
|
||||
jsonpath_lib = "0.3.0"
|
||||
ouroboros = "0.18"
|
||||
|
||||
# This revision uses opentelemetry 0.27. There's no tag for it.
|
||||
tower-otel = { git = "https://github.com/mattiapenati/tower-otel", rev = "56a7321053bcb72443888257b622ba0d43a11fcd" }
|
||||
|
||||
@@ -5,8 +5,9 @@ edition = "2024"
|
||||
license.workspace = true
|
||||
|
||||
[features]
|
||||
default = []
|
||||
default = ["subzero"]
|
||||
testing = ["dep:tokio-postgres"]
|
||||
subzero = ["subzero-core", "jsonpath_lib", "ouroboros"]
|
||||
|
||||
[dependencies]
|
||||
ahash.workspace = true
|
||||
@@ -103,9 +104,9 @@ uuid.workspace = true
|
||||
x509-cert.workspace = true
|
||||
redis.workspace = true
|
||||
zerocopy.workspace = true
|
||||
subzero-core.workspace = true
|
||||
jsonpath_lib.workspace = true
|
||||
ouroboros.workspace = true
|
||||
subzero-core = { git = "https://github.com/neondatabase-labs/subzero", rev = "35e8f59d57404f57cbc84f7c486cbbc147602c98", features = ["postgresql"], optional = true }
|
||||
jsonpath_lib = { version = "0.3.0", optional = true }
|
||||
ouroboros = { version = "0.18", optional = true }
|
||||
|
||||
# jwt stuff
|
||||
jose-jwa = "0.1.2"
|
||||
|
||||
Reference in New Issue
Block a user