0.1.13 improve Builder structs with defaults

This commit is contained in:
mbecker20
2023-01-30 17:24:03 +00:00
parent 65749991de
commit 4f20257479
13 changed files with 117 additions and 47 deletions

94
Cargo.lock generated
View File

@@ -398,7 +398,7 @@ dependencies = [
[[package]]
name = "core"
version = "0.1.12"
version = "0.1.13"
dependencies = [
"anyhow",
"async_timing_util",
@@ -414,8 +414,8 @@ dependencies = [
"hex",
"hmac",
"jwt",
"monitor_helpers 0.1.11",
"monitor_types 0.1.11",
"monitor_helpers 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
"monitor_types 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
"mungos",
"periphery_client",
"serde",
@@ -650,10 +650,10 @@ checksum = "23d8666cb01533c39dde32bcbab8e227b4ed6679b2c925eba05feabea39508fb"
[[package]]
name = "db_client"
version = "0.1.12"
version = "0.1.13"
dependencies = [
"anyhow",
"monitor_types 0.1.11",
"monitor_types 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
"mungos",
]
@@ -1489,17 +1489,17 @@ dependencies = [
"serde_derive",
"strum",
"strum_macros",
"toml",
"toml 0.6.0",
]
[[package]]
name = "monitor_client"
version = "0.1.12"
version = "0.1.13"
dependencies = [
"anyhow",
"envy",
"futures-util",
"monitor_types 0.1.11",
"monitor_types 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
"reqwest",
"serde",
"serde_derive",
@@ -1511,9 +1511,7 @@ dependencies = [
[[package]]
name = "monitor_helpers"
version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "63b1ff7bac3697e1fc06044b669b029964b11182483ce3066e3996c5c0f66b57"
version = "0.1.13"
dependencies = [
"anyhow",
"async_timing_util",
@@ -1521,18 +1519,20 @@ dependencies = [
"bollard",
"futures",
"futures-util",
"monitor_types 0.1.11",
"monitor_types 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
"rand",
"run_command",
"serde",
"serde_derive",
"serde_json",
"toml",
"toml 0.7.0",
]
[[package]]
name = "monitor_helpers"
version = "0.1.12"
version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "18f2da95218988b1f18ff704cdc4c7f8bc026a891bb58249b177ac390fad380b"
dependencies = [
"anyhow",
"async_timing_util",
@@ -1540,18 +1540,18 @@ dependencies = [
"bollard",
"futures",
"futures-util",
"monitor_types 0.1.11",
"monitor_types 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
"rand",
"run_command",
"serde",
"serde_derive",
"serde_json",
"toml",
"toml 0.7.0",
]
[[package]]
name = "monitor_periphery"
version = "0.1.12"
version = "0.1.13"
dependencies = [
"anyhow",
"async_timing_util",
@@ -1562,8 +1562,8 @@ dependencies = [
"dotenv",
"envy",
"futures-util",
"monitor_helpers 0.1.11",
"monitor_types 0.1.11",
"monitor_helpers 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
"monitor_types 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
"run_command",
"serde",
"serde_derive",
@@ -1571,15 +1571,13 @@ dependencies = [
"sysinfo",
"tokio",
"tokio-util",
"toml",
"toml 0.6.0",
"tower",
]
[[package]]
name = "monitor_types"
version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "31a6a8d9bf88d5f6f0ede8d35efa7b7018ebf4b62cf7b9d052c18eed185ca805"
version = "0.1.13"
dependencies = [
"anyhow",
"bollard",
@@ -1596,7 +1594,9 @@ dependencies = [
[[package]]
name = "monitor_types"
version = "0.1.12"
version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d83e58b5ef3f36f51df7ca15ed85a9ab206d4311d02d4dbd6393d7902fd15992"
dependencies = [
"anyhow",
"bollard",
@@ -1855,12 +1855,12 @@ checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e"
[[package]]
name = "periphery_client"
version = "0.1.12"
version = "0.1.13"
dependencies = [
"anyhow",
"futures-util",
"monitor_helpers 0.1.11",
"monitor_types 0.1.11",
"monitor_helpers 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
"monitor_types 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
"reqwest",
"serde",
"serde_json",
@@ -2701,8 +2701,20 @@ checksum = "4fb9d890e4dc9298b70f740f615f2e05b9db37dce531f6b24fb77ac993f9f217"
dependencies = [
"serde",
"serde_spanned",
"toml_datetime",
"toml_edit",
"toml_datetime 0.5.1",
"toml_edit 0.18.0",
]
[[package]]
name = "toml"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2f560bc7fb3eb31f5eee1340c68a2160cad39605b7b9c9ec32045ddbdee13b85"
dependencies = [
"serde",
"serde_spanned",
"toml_datetime 0.6.0",
"toml_edit 0.19.0",
]
[[package]]
@@ -2714,6 +2726,15 @@ dependencies = [
"serde",
]
[[package]]
name = "toml_datetime"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "886f31a9b85b6182cabd4d8b07df3b451afcc216563748201490940d2a28ed36"
dependencies = [
"serde",
]
[[package]]
name = "toml_edit"
version = "0.18.0"
@@ -2724,7 +2745,20 @@ dependencies = [
"nom8",
"serde",
"serde_spanned",
"toml_datetime",
"toml_datetime 0.5.1",
]
[[package]]
name = "toml_edit"
version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "233d8716cdc5d20ec88a18a839edaf545edc71efa4a5ff700ef4a102c26cd8fa"
dependencies = [
"indexmap",
"nom8",
"serde",
"serde_spanned",
"toml_datetime 0.6.0",
]
[[package]]