diff --git a/Cargo.lock b/Cargo.lock index fab2b00..6819ebf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2419,7 +2419,7 @@ dependencies = [ [[package]] name = "rustus" -version = "0.4.12" +version = "0.4.13" dependencies = [ "actix-files", "actix-rt", diff --git a/Cargo.toml b/Cargo.toml index 224d667..9003423 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustus" -version = "0.4.12" +version = "0.4.13" edition = "2021" description = "TUS protocol implementation written in Rust." keywords = [ diff --git a/src/notifiers/models/notification_manager.rs b/src/notifiers/models/notification_manager.rs index 04a5530..521b493 100644 --- a/src/notifiers/models/notification_manager.rs +++ b/src/notifiers/models/notification_manager.rs @@ -4,10 +4,7 @@ use crate::notifiers::amqp_notifier; use crate::notifiers::http_notifier; use crate::{ errors::RustusResult, - notifiers::{ - amqp_notifier::DeclareOptions, dir_notifier::DirNotifier, file_notifier::FileNotifier, - Hook, Notifier, - }, + notifiers::{dir_notifier::DirNotifier, file_notifier::FileNotifier, Hook, Notifier}, RustusConf, }; use actix_web::http::header::HeaderMap; @@ -72,7 +69,7 @@ impl NotificationManager { .notification_opts .hooks_amqp_routing_key .clone(), - DeclareOptions { + amqp_notifier::DeclareOptions { declare_exchange: rustus_config .notification_opts .hooks_amqp_declare_exchange,