diff --git a/Cargo.lock b/Cargo.lock index c96e0a97..98bb9275 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -155,15 +155,6 @@ version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" -[[package]] -name = "async-convert" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d416feee97712e43152cd42874de162b8f9b77295b1c85e5d92725cc8310bae" -dependencies = [ - "async-trait", -] - [[package]] name = "async-trait" version = "0.1.73" @@ -275,7 +266,6 @@ name = "broker" version = "0.3.0-pre" dependencies = [ "aho-corasick 0.7.20", - "async-convert", "async-trait", "atty", "base64", diff --git a/Cargo.toml b/Cargo.toml index 13ea9416..9758fa6b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -71,7 +71,6 @@ deadqueue = "0.2.4" governor = "0.6.0" nonzero_ext = "0.3.0" glob = "0.3.1" -async-convert = "1.0.0" [dev-dependencies] insta = { version = "1.31.0", features = ["filters", "json", "yaml"] } diff --git a/src/api/remote.rs b/src/api/remote.rs index aa325d96..a80e2f16 100644 --- a/src/api/remote.rs +++ b/src/api/remote.rs @@ -260,9 +260,9 @@ impl TryFrom for PollInterval { /// Specificies if we want to scan branches #[derive(Debug, Clone, PartialEq, Eq, Display, Deserialize, Serialize, new)] pub enum BranchImportStrategy { - /// Do not scan integration branches + /// Scanning branches is not allowed Disabled, - /// Scan integration branches + /// Scanning branches is allowed Enabled, } @@ -279,9 +279,9 @@ impl From> for BranchImportStrategy { /// Specifies if the we want to scan tags #[derive(Debug, Clone, PartialEq, Eq, Display, Deserialize, Serialize, new)] pub enum TagImportStrategy { - /// Do not scan integration tags + /// Scanning tags is not allowed Disabled, - /// Scan integration tags + /// Scanning tags is allowed Enabled, }