mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-07 13:53:12 +00:00
d66525a22f
* chore(ci): upgrade protoc from 30.2 to 31.1 - Update protoc version in GitHub Actions setup workflow - Use arduino/setup-protoc@v3 to install the latest protoc version - Ensure compatibility with current project requirements - Improve proto file compilation performance and stability This upgrade aligns our development environment with the latest protobuf standards. * modify package version * refactor(deps): centralize crate versions in root Cargo.toml - Move all dependency versions to workspace.dependencies section - Standardize AWS SDK and related crates versions - Update tokio, bytes, and futures crates to latest stable versions - Ensure consistent version use across all workspace members - Implement workspace inheritance for common dependencies This change simplifies dependency management and ensures version consistency across the project. * fix * modify
44 lines
1.3 KiB
TOML
44 lines
1.3 KiB
TOML
[package]
|
|
name = "rustfs-event-notifier"
|
|
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 }
|
|
http = { workspace = true }
|
|
axum = { workspace = true }
|
|
dotenvy = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|