diff --git a/agent/Cargo.toml b/agent/Cargo.toml index c7334b2cc..2683540f6 100644 --- a/agent/Cargo.toml +++ b/agent/Cargo.toml @@ -2,7 +2,7 @@ name = "agent" version = "0.10.4" authors = ["Kate Goldenring ", ""] -edition = "2018" +edition = "2021" rust-version = "1.68.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/controller/Cargo.toml b/controller/Cargo.toml index 24b3c11a1..1542d2ac0 100644 --- a/controller/Cargo.toml +++ b/controller/Cargo.toml @@ -2,7 +2,7 @@ name = "controller" version = "0.10.4" authors = ["", ""] -edition = "2018" +edition = "2021" rust-version = "1.68.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/discovery-handler-modules/debug-echo-discovery-handler/Cargo.toml b/discovery-handler-modules/debug-echo-discovery-handler/Cargo.toml index 19af0ec5a..768ef1f23 100644 --- a/discovery-handler-modules/debug-echo-discovery-handler/Cargo.toml +++ b/discovery-handler-modules/debug-echo-discovery-handler/Cargo.toml @@ -2,7 +2,7 @@ name = "debug-echo-discovery-handler" version = "0.10.4" authors = ["Kate Goldenring "] -edition = "2018" +edition = "2021" rust-version = "1.68.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/discovery-handler-modules/onvif-discovery-handler/Cargo.toml b/discovery-handler-modules/onvif-discovery-handler/Cargo.toml index 77904f18f..4a3180f63 100644 --- a/discovery-handler-modules/onvif-discovery-handler/Cargo.toml +++ b/discovery-handler-modules/onvif-discovery-handler/Cargo.toml @@ -2,7 +2,7 @@ name = "onvif-discovery-handler" version = "0.10.4" authors = ["Kate Goldenring "] -edition = "2018" +edition = "2021" rust-version = "1.68.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/discovery-handler-modules/opcua-discovery-handler/Cargo.toml b/discovery-handler-modules/opcua-discovery-handler/Cargo.toml index 8dca06135..68eb4799a 100644 --- a/discovery-handler-modules/opcua-discovery-handler/Cargo.toml +++ b/discovery-handler-modules/opcua-discovery-handler/Cargo.toml @@ -2,7 +2,7 @@ name = "opcua-discovery-handler" version = "0.10.4" authors = ["Kate Goldenring "] -edition = "2018" +edition = "2021" rust-version = "1.68.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/discovery-handler-modules/udev-discovery-handler/Cargo.toml b/discovery-handler-modules/udev-discovery-handler/Cargo.toml index 458bfab73..0e7991a1e 100644 --- a/discovery-handler-modules/udev-discovery-handler/Cargo.toml +++ b/discovery-handler-modules/udev-discovery-handler/Cargo.toml @@ -2,7 +2,7 @@ name = "udev-discovery-handler" version = "0.10.4" authors = ["Kate Goldenring "] -edition = "2018" +edition = "2021" rust-version = "1.68.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/discovery-handlers/debug-echo/Cargo.toml b/discovery-handlers/debug-echo/Cargo.toml index 41440d639..9506b18e4 100644 --- a/discovery-handlers/debug-echo/Cargo.toml +++ b/discovery-handlers/debug-echo/Cargo.toml @@ -2,7 +2,7 @@ name = "akri-debug-echo" version = "0.10.4" authors = ["Kate Goldenring "] -edition = "2018" +edition = "2021" rust-version = "1.68.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/discovery-handlers/onvif/Cargo.toml b/discovery-handlers/onvif/Cargo.toml index 2f1dfc597..d39b88949 100644 --- a/discovery-handlers/onvif/Cargo.toml +++ b/discovery-handlers/onvif/Cargo.toml @@ -2,7 +2,7 @@ name = "akri-onvif" version = "0.10.4" authors = ["Kate Goldenring "] -edition = "2018" +edition = "2021" rust-version = "1.68.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/discovery-handlers/opcua/Cargo.toml b/discovery-handlers/opcua/Cargo.toml index 6a1176e44..d67e58a43 100644 --- a/discovery-handlers/opcua/Cargo.toml +++ b/discovery-handlers/opcua/Cargo.toml @@ -2,7 +2,7 @@ name = "akri-opcua" version = "0.10.4" authors = ["Kate Goldenring "] -edition = "2018" +edition = "2021" rust-version = "1.68.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/discovery-handlers/udev/Cargo.toml b/discovery-handlers/udev/Cargo.toml index 4c6617d0c..c54869787 100644 --- a/discovery-handlers/udev/Cargo.toml +++ b/discovery-handlers/udev/Cargo.toml @@ -2,7 +2,7 @@ name = "akri-udev" version = "0.10.4" authors = ["Kate Goldenring "] -edition = "2018" +edition = "2021" rust-version = "1.68.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/discovery-utils/Cargo.toml b/discovery-utils/Cargo.toml index 33efb46c0..2eee618f7 100644 --- a/discovery-utils/Cargo.toml +++ b/discovery-utils/Cargo.toml @@ -2,7 +2,7 @@ name = "akri-discovery-utils" version = "0.10.4" authors = ["Kate Goldenring "] -edition = "2018" +edition = "2021" rust-version = "1.68.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/samples/brokers/udev-video-broker/Cargo.toml b/samples/brokers/udev-video-broker/Cargo.toml index a80567f6c..55ac6dfd6 100644 --- a/samples/brokers/udev-video-broker/Cargo.toml +++ b/samples/brokers/udev-video-broker/Cargo.toml @@ -2,7 +2,7 @@ name = "udev-video-broker" version = "0.10.4" authors = ["Kate Goldenring ", ""] -edition = "2018" +edition = "2021" rust-version = "1.68.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/shared/Cargo.toml b/shared/Cargo.toml index 9b88ef15d..97f7fd813 100644 --- a/shared/Cargo.toml +++ b/shared/Cargo.toml @@ -2,7 +2,7 @@ name = "akri-shared" version = "0.10.4" authors = [""] -edition = "2018" +edition = "2021" rust-version = "1.68.1" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/shared/src/uds/unix_stream.rs b/shared/src/uds/unix_stream.rs index 404f58dfc..d0413a935 100644 --- a/shared/src/uds/unix_stream.rs +++ b/shared/src/uds/unix_stream.rs @@ -58,7 +58,6 @@ impl AsyncWrite for UnixStream { } pub async fn try_connect(socket_path: &str) -> Result<(), anyhow::Error> { - use std::convert::TryFrom; use std::time::{Duration, SystemTime, UNIX_EPOCH}; // Test that server is running, trying for at most 10 seconds diff --git a/webhooks/validating/configuration/Cargo.toml b/webhooks/validating/configuration/Cargo.toml index c0c5094fa..912a47e53 100644 --- a/webhooks/validating/configuration/Cargo.toml +++ b/webhooks/validating/configuration/Cargo.toml @@ -2,7 +2,7 @@ name = "webhook-configuration" version = "0.10.4" authors = ["DazWilkin "] -edition = "2018" +edition = "2021" rust-version = "1.68.1" [dependencies]