diff --git a/libs/blockscout-endpoints/health/Cargo.toml b/libs/blockscout-endpoints/health/Cargo.toml index da0c52da8..c7a796dbd 100644 --- a/libs/blockscout-endpoints/health/Cargo.toml +++ b/libs/blockscout-endpoints/health/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "blockscout-health-endpoint" +name = "blockscout-endpoint-health" version = "0.1.0" description = "Configuration tools for compiling health endpoint" license = "MIT" diff --git a/stats/Cargo.lock b/stats/Cargo.lock index 30de25f55..54eb480c4 100644 --- a/stats/Cargo.lock +++ b/stats/Cargo.lock @@ -788,7 +788,7 @@ dependencies = [ ] [[package]] -name = "blockscout-health-endpoint" +name = "blockscout-endpoint-health" version = "0.1.0" dependencies = [ "prost-build", @@ -4115,7 +4115,7 @@ dependencies = [ "actix-prost-macros", "actix-web", "async-trait", - "blockscout-health-endpoint", + "blockscout-endpoint-health", "prost 0.11.9", "prost-build", "serde", diff --git a/stats/stats-proto/Cargo.toml b/stats/stats-proto/Cargo.toml index 0df0c36cf..9a3ff4549 100644 --- a/stats/stats-proto/Cargo.toml +++ b/stats/stats-proto/Cargo.toml @@ -20,4 +20,4 @@ serde_json = "1.0" actix-prost-build = { git = "https://github.com/blockscout/actix-prost" } tonic-build = "0.8" prost-build = "0.11" -blockscout-health-endpoint = { path = "../../libs/blockscout-endpoints/health" } +blockscout-endpoint-health = { path = "../../libs/blockscout-endpoints/health" } diff --git a/stats/stats-proto/build.rs b/stats/stats-proto/build.rs index d9c229aac..15f4cb7c5 100644 --- a/stats/stats-proto/build.rs +++ b/stats/stats-proto/build.rs @@ -24,7 +24,7 @@ fn compile( .field_attribute(".blockscout.stats.v1.Point.is_approximate", "#[serde(skip_serializing_if = \"std::ops::Not::not\")]") .field_attribute(".blockscout.stats.v1.Point.is_approximate", "#[serde(default)]") .field_attribute(".blockscout.stats.v1.GetLineChartRequest.resolution", "#[serde(default)]"); - blockscout_health_endpoint::add_to_compile_config(&mut config); + blockscout_endpoint_health::add_to_compile_config(&mut config); config.compile_protos(protos, includes)?; Ok(()) @@ -46,7 +46,7 @@ fn main() -> Result<(), Box> { // We need to rebuild proto lib only if any of proto definitions // (or corresponding http mapping) has been changed. let mut proto_files_folders = ["proto/"].map(PathBuf::from).to_vec(); - proto_files_folders.extend(blockscout_health_endpoint::includes(swagger_crate_folder)); + proto_files_folders.extend(blockscout_endpoint_health::includes(swagger_crate_folder)); let proto_files_folders = vec_path_buf_to_string(proto_files_folders); for folder in &proto_files_folders { @@ -54,7 +54,7 @@ fn main() -> Result<(), Box> { } let mut protos = ["proto/stats.proto"].map(PathBuf::from).to_vec(); - protos.extend(blockscout_health_endpoint::proto_files( + protos.extend(blockscout_endpoint_health::proto_files( swagger_crate_folder, )); let protos = vec_path_buf_to_string(protos);