-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
59cab56
commit 7f755a6
Showing
11 changed files
with
1,252 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
fn main() -> Result<(), Box<dyn std::error::Error>> { | ||
println!("cargo:rerun-if-changed=src/*"); | ||
tonic_build::configure().compile_protos( | ||
&[ | ||
"proto/internal_service.proto", | ||
"proto/management_service.proto", | ||
"proto/api_service.proto", | ||
], | ||
&["proto"], | ||
)?; | ||
tonic_build::configure() | ||
.type_attribute("openraftpb.Node", "#[derive(Eq, serde::Serialize, serde::Deserialize)]") | ||
.compile_protos( | ||
&[ | ||
"proto/internal_service.proto", | ||
"proto/management_service.proto", | ||
"proto/api_service.proto", | ||
], | ||
&["proto"], | ||
)?; | ||
Ok(()) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
176 changes: 176 additions & 0 deletions
176
examples/raft-kv-memstore-grpc/rustc-ice-2024-12-10T18_09_47-86281.txt
Large diffs are not rendered by default.
Oops, something went wrong.
176 changes: 176 additions & 0 deletions
176
examples/raft-kv-memstore-grpc/rustc-ice-2024-12-10T18_09_47-86283.txt
Large diffs are not rendered by default.
Oops, something went wrong.
176 changes: 176 additions & 0 deletions
176
examples/raft-kv-memstore-grpc/rustc-ice-2024-12-10T18_09_56-86384.txt
Large diffs are not rendered by default.
Oops, something went wrong.
176 changes: 176 additions & 0 deletions
176
examples/raft-kv-memstore-grpc/rustc-ice-2024-12-10T18_10_07-86478.txt
Large diffs are not rendered by default.
Oops, something went wrong.
176 changes: 176 additions & 0 deletions
176
examples/raft-kv-memstore-grpc/rustc-ice-2024-12-10T18_11_38-88701.txt
Large diffs are not rendered by default.
Oops, something went wrong.
176 changes: 176 additions & 0 deletions
176
examples/raft-kv-memstore-grpc/rustc-ice-2024-12-10T18_11_38-88702.txt
Large diffs are not rendered by default.
Oops, something went wrong.
176 changes: 176 additions & 0 deletions
176
examples/raft-kv-memstore-grpc/rustc-ice-2024-12-10T18_11_46-88800.txt
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters