Feature/rustfs config (#396)

* 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)
This commit is contained in:
houseme
2025-05-12 01:17:31 +08:00
committed by GitHub
parent 0c351965a2
commit dd7da015e3
64 changed files with 1283 additions and 1008 deletions
Generated
+17 -9
View File
@@ -1746,7 +1746,7 @@ dependencies = [
"pbkdf2",
"rand 0.8.5",
"serde_json",
"sha2 0.10.8",
"sha2 0.10.9",
"test-case",
"thiserror 2.0.12",
"time",
@@ -2141,7 +2141,7 @@ dependencies = [
"md-5",
"rand 0.8.5",
"regex",
"sha2 0.10.8",
"sha2 0.10.9",
"unicode-segmentation",
"uuid",
]
@@ -3020,6 +3020,12 @@ dependencies = [
"const-random",
]
[[package]]
name = "dotenvy"
version = "0.15.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b"
[[package]]
name = "dpi"
version = "0.1.1"
@@ -4807,7 +4813,7 @@ dependencies = [
"nom 8.0.0",
"once_cell",
"serde",
"sha2 0.10.8",
"sha2 0.10.9",
"thiserror 2.0.12",
"uuid",
]
@@ -6120,7 +6126,7 @@ checksum = "7f9f832470494906d1fca5329f8ab5791cc60beb230c74815dff541cbd2b5ca0"
dependencies = [
"once_cell",
"pest",
"sha2 0.10.8",
"sha2 0.10.9",
]
[[package]]
@@ -7209,7 +7215,7 @@ version = "8.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08d55b95147fe01265d06b3955db798bdaed52e60e2211c41137701b3aba8e21"
dependencies = [
"sha2 0.10.8",
"sha2 0.10.9",
"walkdir",
]
@@ -7340,6 +7346,7 @@ dependencies = [
"async-trait",
"axum",
"config",
"dotenvy",
"http",
"rdkafka",
"reqwest",
@@ -7371,7 +7378,7 @@ dependencies = [
"rust-embed",
"serde",
"serde_json",
"sha2 0.10.8",
"sha2 0.10.9",
"tokio",
"tracing-appender",
"tracing-subscriber",
@@ -7394,6 +7401,7 @@ dependencies = [
"opentelemetry_sdk",
"rdkafka",
"reqwest",
"rustfs-config",
"serde",
"serde_json",
"smallvec",
@@ -7919,9 +7927,9 @@ dependencies = [
[[package]]
name = "sha2"
version = "0.10.8"
version = "0.10.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"
checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
dependencies = [
"cfg-if",
"cpufeatures",
@@ -10218,7 +10226,7 @@ dependencies = [
"once_cell",
"percent-encoding",
"raw-window-handle 0.6.2",
"sha2 0.10.8",
"sha2 0.10.9",
"soup3",
"tao-macros",
"thiserror 1.0.69",