Replace gRPC Backend #10

Merged
sergeysav merged 15 commits from ssavelyev/grpc_removal into main 2026-01-01 10:11:53 -08:00
4 changed files with 0 additions and 123 deletions
Showing only changes of commit 9228bca4eb - Show all commits

110
Cargo.lock generated
View File

@@ -746,12 +746,6 @@ dependencies = [
"log", "log",
] ]
[[package]]
name = "fixedbitset"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
[[package]] [[package]]
name = "flate2" name = "flate2"
version = "1.0.34" version = "1.0.34"
@@ -1296,15 +1290,6 @@ dependencies = [
"hashbrown 0.15.0", "hashbrown 0.15.0",
] ]
[[package]]
name = "itertools"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
dependencies = [
"either",
]
[[package]] [[package]]
name = "itoa" name = "itoa"
version = "1.0.11" version = "1.0.11"
@@ -1474,12 +1459,6 @@ dependencies = [
"windows-sys 0.52.0", "windows-sys 0.52.0",
] ]
[[package]]
name = "multimap"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "defc4c55412d89136f966bbb339008b474350e5e6e78d2714439c386b3137a03"
[[package]] [[package]]
name = "native-tls" name = "native-tls"
version = "0.2.14" version = "0.2.14"
@@ -1665,16 +1644,6 @@ version = "2.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
[[package]]
name = "petgraph"
version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db"
dependencies = [
"fixedbitset",
"indexmap 2.6.0",
]
[[package]] [[package]]
name = "pin-project" name = "pin-project"
version = "1.1.6" version = "1.1.6"
@@ -1758,16 +1727,6 @@ dependencies = [
"zerocopy 0.7.35", "zerocopy 0.7.35",
] ]
[[package]]
name = "prettyplease"
version = "0.2.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "479cf940fbbb3426c32c5d5176f62ad57549a0bb84773423ba8be9d089f5faba"
dependencies = [
"proc-macro2",
"syn",
]
[[package]] [[package]]
name = "proc-macro2" name = "proc-macro2"
version = "1.0.92" version = "1.0.92"
@@ -1784,50 +1743,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2796faa41db3ec313a31f7624d9286acf277b52de526150b7e69f3debf891ee5" checksum = "2796faa41db3ec313a31f7624d9286acf277b52de526150b7e69f3debf891ee5"
dependencies = [ dependencies = [
"bytes", "bytes",
"prost-derive",
]
[[package]]
name = "prost-build"
version = "0.13.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c1318b19085f08681016926435853bbf7858f9c082d0999b80550ff5d9abe15"
dependencies = [
"bytes",
"heck",
"itertools",
"log",
"multimap",
"once_cell",
"petgraph",
"prettyplease",
"prost",
"prost-types",
"regex",
"syn",
"tempfile",
]
[[package]]
name = "prost-derive"
version = "0.13.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a56d757972c98b346a9b766e3f02746cde6dd1cd1d1d563472929fdd74bec4d"
dependencies = [
"anyhow",
"itertools",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "prost-types"
version = "0.13.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4759aa0d3a6232fb8dbdb97b61de2c20047c68aca932c7ed76da9d788508d670"
dependencies = [
"prost",
] ]
[[package]] [[package]]
@@ -2190,11 +2105,8 @@ dependencies = [
"chrono", "chrono",
"derive_more", "derive_more",
"fern", "fern",
"hex",
"log", "log",
"papaya", "papaya",
"prost",
"rand 0.9.0",
"serde", "serde",
"serde_json", "serde_json",
"sqlx", "sqlx",
@@ -2202,7 +2114,6 @@ dependencies = [
"tokio", "tokio",
"tokio-util", "tokio-util",
"tonic", "tonic",
"tonic-build",
"uuid", "uuid",
] ]
@@ -2259,12 +2170,8 @@ version = "0.0.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"api", "api",
"chrono",
"log",
"num-traits",
"tokio", "tokio",
"tokio-util", "tokio-util",
"tonic",
] ]
[[package]] [[package]]
@@ -2276,10 +2183,7 @@ dependencies = [
"chrono", "chrono",
"futures-util", "futures-util",
"num-traits", "num-traits",
"serde_json",
"tokio", "tokio",
"tokio-stream",
"tokio-tungstenite",
"tokio-util", "tokio-util",
"uuid", "uuid",
] ]
@@ -2784,20 +2688,6 @@ dependencies = [
"tracing", "tracing",
] ]
[[package]]
name = "tonic-build"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9557ce109ea773b399c9b9e5dca39294110b74f1f342cb347a80d1fce8c26a11"
dependencies = [
"prettyplease",
"proc-macro2",
"prost-build",
"prost-types",
"quote",
"syn",
]
[[package]] [[package]]
name = "tower" name = "tower"
version = "0.4.13" version = "0.4.13"

View File

@@ -5,10 +5,6 @@ edition = "2021"
[dependencies] [dependencies]
api = { path = "../../api" } api = { path = "../../api" }
tonic = "0.12.3"
tokio = { version = "1.43.0", features = ["rt-multi-thread", "signal"] } tokio = { version = "1.43.0", features = ["rt-multi-thread", "signal"] }
chrono = "0.4.39"
tokio-util = "0.7.13" tokio-util = "0.7.13"
num-traits = "0.2.19"
log = "0.4.29"
anyhow = "1.0.100" anyhow = "1.0.100"

View File

@@ -8,10 +8,7 @@ api = { path = "../../api" }
tokio = { version = "1.43.0", features = ["rt-multi-thread", "signal", "time", "macros"] } tokio = { version = "1.43.0", features = ["rt-multi-thread", "signal", "time", "macros"] }
chrono = "0.4.39" chrono = "0.4.39"
num-traits = "0.2.19" num-traits = "0.2.19"
tokio-tungstenite = { version = "0.28.0", features = ["rustls-tls-native-roots"] }
anyhow = "1.0.100" anyhow = "1.0.100"
futures-util = "0.3.31" futures-util = "0.3.31"
serde_json = "1.0.145"
uuid = { version = "1.19.0", features = ["v4"] } uuid = { version = "1.19.0", features = ["v4"] }
tokio-util = "0.7.17" tokio-util = "0.7.17"
tokio-stream = "0.1.17"

View File

@@ -8,8 +8,6 @@ authors = ["Sergey <me@sergeysav.com>"]
[dependencies] [dependencies]
fern = "0.7.1" fern = "0.7.1"
log = "0.4.29" log = "0.4.29"
prost = "0.13.5"
rand = "0.9.0"
tonic = { version = "0.12.3" } tonic = { version = "0.12.3" }
tokio = { version = "1.43.0", features = ["rt-multi-thread", "signal", "fs"] } tokio = { version = "1.43.0", features = ["rt-multi-thread", "signal", "fs"] }
chrono = "0.4.42" chrono = "0.4.42"
@@ -18,7 +16,6 @@ actix-ws = "0.3.0"
tokio-util = "0.7.17" tokio-util = "0.7.17"
serde = { version = "1.0.228", features = ["derive"] } serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145" serde_json = "1.0.145"
hex = "0.4.3"
papaya = "0.2.3" papaya = "0.2.3"
thiserror = "2.0.17" thiserror = "2.0.17"
derive_more = { version = "2.1.0", features = ["from"] } derive_more = { version = "2.1.0", features = ["from"] }
@@ -26,6 +23,3 @@ anyhow = "1.0.100"
sqlx = { version = "0.8.6", features = [ "runtime-tokio", "tls-native-tls", "sqlite" ] } sqlx = { version = "0.8.6", features = [ "runtime-tokio", "tls-native-tls", "sqlite" ] }
uuid = { version = "1.19.0", features = ["v4"] } uuid = { version = "1.19.0", features = ["v4"] }
api = { path = "../api" } api = { path = "../api" }
[build-dependencies]
tonic-build = "0.12.3"