From 575aa6262534d5f2e1c71a6178df89839c84f7af Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Tue, 21 Feb 2023 04:32:41 +0000 Subject: [PATCH] update versions to 0.1.16 --- Cargo.lock | 47 +++++++++++++++++++++++---------- cli/Cargo.toml | 2 +- core/Cargo.toml | 2 +- lib/db_client/Cargo.toml | 2 +- lib/helpers/Cargo.toml | 2 +- lib/monitor_client/Cargo.toml | 6 ++--- lib/monitor_client/src/build.rs | 10 +++---- lib/periphery_client/Cargo.toml | 2 +- lib/types/Cargo.toml | 2 +- periphery/Cargo.toml | 2 +- 10 files changed, 48 insertions(+), 29 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c81fd1f1a..34b4d93df 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -743,7 +743,7 @@ dependencies = [ [[package]] name = "core" -version = "0.1.15" +version = "0.1.16" dependencies = [ "anyhow", "async_timing_util", @@ -760,7 +760,7 @@ dependencies = [ "hmac", "jwt", "monitor_helpers", - "monitor_types", + "monitor_types 0.1.16", "mungos", "periphery_client", "serde", @@ -995,10 +995,10 @@ checksum = "23d8666cb01533c39dde32bcbab8e227b4ed6679b2c925eba05feabea39508fb" [[package]] name = "db_client" -version = "0.1.15" +version = "0.1.16" dependencies = [ "anyhow", - "monitor_types", + "monitor_types 0.1.16", "mungos", ] @@ -1838,7 +1838,7 @@ dependencies = [ [[package]] name = "monitor_cli" -version = "0.1.21" +version = "0.1.22" dependencies = [ "async_timing_util", "clap", @@ -1854,12 +1854,12 @@ dependencies = [ [[package]] name = "monitor_client" -version = "0.1.15" +version = "0.1.16" dependencies = [ "anyhow", "envy", "futures-util", - "monitor_types", + "monitor_types 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)", "reqwest", "serde", "serde_derive", @@ -1871,7 +1871,7 @@ dependencies = [ [[package]] name = "monitor_helpers" -version = "0.1.15" +version = "0.1.16" dependencies = [ "anyhow", "async_timing_util", @@ -1881,7 +1881,7 @@ dependencies = [ "bollard", "futures", "futures-util", - "monitor_types", + "monitor_types 0.1.16", "periphery_client", "rand", "run_command", @@ -1894,7 +1894,7 @@ dependencies = [ [[package]] name = "monitor_periphery" -version = "0.1.15" +version = "0.1.16" dependencies = [ "anyhow", "async_timing_util", @@ -1906,7 +1906,7 @@ dependencies = [ "envy", "futures-util", "monitor_helpers", - "monitor_types", + "monitor_types 0.1.16", "run_command", "serde", "serde_derive", @@ -1920,7 +1920,26 @@ dependencies = [ [[package]] name = "monitor_types" -version = "0.1.15" +version = "0.1.16" +dependencies = [ + "anyhow", + "bollard", + "bson", + "chrono", + "derive_builder", + "diff-struct", + "serde", + "serde_derive", + "strum", + "strum_macros", + "typeshare", +] + +[[package]] +name = "monitor_types" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e4d1444216d1585f466d0591cedbdf84d1c810a4f45586362108219e7c943267" dependencies = [ "anyhow", "bollard", @@ -2185,11 +2204,11 @@ checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" [[package]] name = "periphery_client" -version = "0.1.15" +version = "0.1.16" dependencies = [ "anyhow", "futures-util", - "monitor_types", + "monitor_types 0.1.16", "reqwest", "serde", "serde_json", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 6111d45ce..9fc5639d0 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "monitor_cli" -version = "0.1.21" +version = "0.1.22" edition = "2021" authors = ["MoghTech"] description = "monitor cli | tools to setup monitor system" diff --git a/core/Cargo.toml b/core/Cargo.toml index 2bdb085f5..92228471d 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "core" -version = "0.1.15" +version = "0.1.16" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/lib/db_client/Cargo.toml b/lib/db_client/Cargo.toml index d11f5a398..bbeb3da56 100644 --- a/lib/db_client/Cargo.toml +++ b/lib/db_client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "db_client" -version = "0.1.15" +version = "0.1.16" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/lib/helpers/Cargo.toml b/lib/helpers/Cargo.toml index 68afd7844..4a89c7499 100644 --- a/lib/helpers/Cargo.toml +++ b/lib/helpers/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "monitor_helpers" -version = "0.1.15" +version = "0.1.16" edition = "2021" authors = ["MoghTech"] description = "helpers used as dependency for mogh tech monitor" diff --git a/lib/monitor_client/Cargo.toml b/lib/monitor_client/Cargo.toml index 8b2815ab7..7d7fc373f 100644 --- a/lib/monitor_client/Cargo.toml +++ b/lib/monitor_client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "monitor_client" -version = "0.1.15" +version = "0.1.16" edition = "2021" authors = ["MoghTech"] description = "a client to interact with the monitor system" @@ -9,8 +9,8 @@ license = "GPL-3.0-or-later" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -# monitor_types = "0.1.15" -monitor_types = { path = "../types" } +monitor_types = "0.1.16" +# monitor_types = { path = "../types" } reqwest = { version = "0.11", features = ["json"] } tokio-tungstenite = { version = "0.18", features=["native-tls"] } tokio = { version = "1.25", features = ["full"] } diff --git a/lib/monitor_client/src/build.rs b/lib/monitor_client/src/build.rs index d90e9f134..4adb39aa4 100644 --- a/lib/monitor_client/src/build.rs +++ b/lib/monitor_client/src/build.rs @@ -88,9 +88,9 @@ impl MonitorClient { .context(format!("failed at building build {build_id}")) } - pub async fn reclone_build(&self, id: &str) -> anyhow::Result { - self.post::<(), _>(&format!("/api/build/{id}/reclone"), None) - .await - .context(format!("failed at recloning build {id}")) - } + // pub async fn reclone_build(&self, id: &str) -> anyhow::Result { + // self.post::<(), _>(&format!("/api/build/{id}/reclone"), None) + // .await + // .context(format!("failed at recloning build {id}")) + // } } diff --git a/lib/periphery_client/Cargo.toml b/lib/periphery_client/Cargo.toml index 8a652fddc..c2c80eb3d 100644 --- a/lib/periphery_client/Cargo.toml +++ b/lib/periphery_client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "periphery_client" -version = "0.1.15" +version = "0.1.16" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/lib/types/Cargo.toml b/lib/types/Cargo.toml index 0fc0e72f1..5679b56c0 100644 --- a/lib/types/Cargo.toml +++ b/lib/types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "monitor_types" -version = "0.1.15" +version = "0.1.16" edition = "2021" authors = ["MoghTech"] description = "types for the mogh tech monitor" diff --git a/periphery/Cargo.toml b/periphery/Cargo.toml index 85d24f3fe..5be6fcb13 100644 --- a/periphery/Cargo.toml +++ b/periphery/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "monitor_periphery" -version = "0.1.15" +version = "0.1.16" edition = "2021" authors = ["MoghTech"] description = "monitor periphery binary | run monitor periphery as system daemon"