Skip to content

Commit

Permalink
Remove protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
rmqtt committed Sep 3, 2023
1 parent 8ab8949 commit 6f8c9ba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,14 @@ socket2 = { version = "0.5", features = ["all"], optional = true }
tokio-stream = { version = "0.1", features = ["net"], optional = true }
tonic = "0.9"
prost = "0.11"
protobuf = "2.28"
futures = "0.3"
async-trait = "0.1"
bincode = "1.3"
serde = { version = "1.0", features = ["derive"] }
log = { version = "0.4", features = ["std"] }
slog = "2"
thiserror = "1.0"
dashmap = "5.4"
dashmap = "5.5"
ahash = "0.8"
chrono = { version = "0.4", default-features = false, features = ["clock"] }
anyhow = "1.0"
Expand Down
2 changes: 0 additions & 2 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ pub enum Error {
LeaderNotExist,
#[error("Not a Leader")]
NotLeader,
#[error("protobuf error: `{0}`")]
ProtobufError(#[from] protobuf::ProtobufError),
#[error("timeout")]
Elapsed,
#[error("{0}")]
Expand Down

0 comments on commit 6f8c9ba

Please sign in to comment.