This commit is contained in:
houseme
2025-06-30 22:47:36 +08:00
parent 57c8c76e58
commit 68090d1c35
3 changed files with 5 additions and 5 deletions

View File

@@ -95,7 +95,7 @@ pub struct ARN {
pub region: String,
// Service types, such as "sqs", "sns", "lambda", etc. This defaults to "sqs" to match the Go example.
pub service: String,
// Partitions such as "aws", "aws-cn", or customizations such as "rustfs","rustfs", etc.
// Partitions such as "aws", "aws-cn", or customizations such as "rustfs", etc.
pub partition: String,
}

View File

@@ -1,7 +1,7 @@
//! RustFS Notify - A flexible and extensible event notification system for object storage.
//!
//! This library provides a Rust implementation of a storage bucket notification system,
//! similar to RustFS's notification system. It supports sending events to various targets
//! This library provides a Rust implementation of a storage bucket notification system.
//! It supports sending events to various targets
//! (like Webhook and MQTT) and includes features like event persistence and retry on failure.
pub mod arn;
@@ -26,7 +26,7 @@ pub use rules::BucketNotificationConfig;
use std::io::IsTerminal;
pub use target::Target;
use tracing_subscriber::{EnvFilter, fmt, prelude::*, util::SubscriberInitExt};
use tracing_subscriber::{fmt, prelude::*, util::SubscriberInitExt, EnvFilter};
/// Initialize the tracing log system
///

View File

@@ -1,5 +1,5 @@
use super::pattern;
use crate::arn::{ARN, ArnError, TargetIDError};
use crate::arn::{ArnError, TargetIDError, ARN};
use crate::event::EventName;
use serde::{Deserialize, Serialize};
use std::collections::HashSet;