mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-07 13:53:12 +00:00
dd7da015e3
* init rustfs config * improve code for rustfs-config crate * add * improve code for comment * fix: modify rustfs-config crate name * add default fn * improve error logger * fix: modify docker config yaml * improve code for config * feat: restrict kafka feature to Linux only - Add target-specific feature configuration in Cargo.toml for obs and event-notifier crates - Implement conditional compilation for kafka feature only on Linux systems - Add appropriate error handling for non-Linux platforms - Ensure backward compatibility with existing code * refactor(ci): optimize build workflow for better efficiency - Integrate GUI build steps into main build-rustfs job - Add conditional GUI build execution based on tag releases - Simplify workflow by removing redundant build-rustfs-gui job - Copy binary directly to embedded-rustfs directory without downloading artifacts - Update merge job dependency to only rely on build-rustfs - Improve cross-platform compatibility for Windows binary naming (.exe) - Streamline artifact uploading and OSS publishing process - Maintain consistent conditional logic for release operations * refactor(ci): optimize build workflow for better efficiency - Integrate GUI build steps into main build-rustfs job - Add conditional GUI build execution based on tag releases - Simplify workflow by removing redundant build-rustfs-gui job - Copy binary directly to embedded-rustfs directory without downloading artifacts - Update merge job dependency to only rely on build-rustfs - Improve cross-platform compatibility for Windows binary naming (.exe) - Streamline artifact uploading and OSS publishing process - Maintain consistent conditional logic for release operations * fix(ci): add repo-token to setup-protoc action for authentication - Add GITHUB_TOKEN parameter to arduino/setup-protoc@v3 action - Ensure proper authentication for Protoc installation in CI workflow - Maintain consistent setup across different CI environments * modify config * improve readme.md * remove env config relation * add allow(dead_code)
32 lines
903 B
Rust
32 lines
903 B
Rust
mod adapter;
|
|
mod bus;
|
|
mod config;
|
|
mod error;
|
|
mod event;
|
|
mod global;
|
|
mod notifier;
|
|
mod store;
|
|
|
|
pub use adapter::create_adapters;
|
|
#[cfg(all(feature = "kafka", target_os = "linux"))]
|
|
pub use adapter::kafka::KafkaAdapter;
|
|
#[cfg(feature = "mqtt")]
|
|
pub use adapter::mqtt::MqttAdapter;
|
|
#[cfg(feature = "webhook")]
|
|
pub use adapter::webhook::WebhookAdapter;
|
|
pub use adapter::ChannelAdapter;
|
|
pub use bus::event_bus;
|
|
#[cfg(all(feature = "kafka", target_os = "linux"))]
|
|
pub use config::KafkaConfig;
|
|
#[cfg(feature = "mqtt")]
|
|
pub use config::MqttConfig;
|
|
#[cfg(feature = "webhook")]
|
|
pub use config::WebhookConfig;
|
|
pub use config::{AdapterConfig, NotifierConfig};
|
|
pub use error::Error;
|
|
|
|
pub use event::{Bucket, Event, EventBuilder, Identity, Log, Metadata, Name, Object, Source};
|
|
pub use global::{initialize, is_initialized, is_ready, send_event, shutdown};
|
|
pub use notifier::NotifierSystem;
|
|
pub use store::EventStore;
|