-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #626 from blockscout/lok52/refactor-visualizer
Refactor visualizer service
- Loading branch information
Showing
30 changed files
with
335 additions
and
429 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,6 @@ | |
resolver = "2" | ||
members = [ | ||
"visualizer", | ||
"visualizer-server" | ||
"visualizer-server", | ||
"visualizer-proto" | ||
] |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[package] | ||
name = "visualizer-proto" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
actix-web = "4" | ||
actix-prost = { git = "https://github.com/blockscout/actix-prost" } | ||
actix-prost-macros = { git = "https://github.com/blockscout/actix-prost" } | ||
prost = "0.11" | ||
serde = { version = "1", features = ["derive"] } | ||
serde_with = { version = "2.0", features = ["hex", "base64"] } | ||
tonic = "0.8" | ||
|
||
[build-dependencies] | ||
actix-prost-build = { git = "https://github.com/blockscout/actix-prost" } | ||
tonic-build = "0.8" | ||
prost-build = "0.11" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#![allow(clippy::derive_partial_eq_without_eq)] | ||
|
||
pub mod blockscout { | ||
pub mod visualizer { | ||
pub mod v1 { | ||
include!(concat!(env!("OUT_DIR"), "/blockscout.visualizer.v1.rs")); | ||
} | ||
} | ||
} | ||
|
||
pub mod google { | ||
pub mod protobuf { | ||
include!(concat!(env!("OUT_DIR"), "/google.protobuf.rs")); | ||
} | ||
} |
Oops, something went wrong.