mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 01:30:33 +00:00
This change simplifies the crate name to better reflect its core functionality as the event handling system for RustFS. The renamed package maintains all existing functionality while improving naming consistency across the project. - Updated all imports and references to use the new crate name - Maintained API compatibility with existing implementations - Updated tests to reflect the name change
43 lines
1.2 KiB
TOML
43 lines
1.2 KiB
TOML
[package]
|
|
name = "rustfs-event"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
version.workspace = true
|
|
|
|
[features]
|
|
default = ["webhook"]
|
|
webhook = ["dep:reqwest"]
|
|
mqtt = ["rumqttc"]
|
|
kafka = ["dep:rdkafka"]
|
|
|
|
[dependencies]
|
|
async-trait = { workspace = true }
|
|
config = { workspace = true }
|
|
reqwest = { workspace = true, optional = true }
|
|
rumqttc = { workspace = true, optional = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde_with = { workspace = true }
|
|
smallvec = { workspace = true, features = ["serde"] }
|
|
strum = { workspace = true, features = ["derive"] }
|
|
tracing = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true, features = ["sync", "net", "macros", "signal", "rt-multi-thread"] }
|
|
tokio-util = { workspace = true }
|
|
uuid = { workspace = true, features = ["v4", "serde"] }
|
|
|
|
# Only enable kafka features and related dependencies on Linux
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
rdkafka = { workspace = true, features = ["tokio"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true, features = ["test-util"] }
|
|
tracing-subscriber = { workspace = true }
|
|
axum = { workspace = true }
|
|
dotenvy = "0.15.7"
|
|
|
|
[lints]
|
|
workspace = true
|