refactor(deps): centralize crate versions in root Cargo.toml (#448)

* 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
This commit is contained in:
houseme
2025-06-07 21:52:59 +08:00
parent 690ce7fae4
commit 9495df6d5e
35 changed files with 109 additions and 261 deletions
+2 -2
View File
@@ -275,7 +275,7 @@ impl BucketTargetSys {
targets_map.insert(bucket.to_string(), targets);
arn_remotes_map.remove(arn_str);
let targets = self.list_targets(Some(&bucket), None).await;
let targets = self.list_targets(Some(bucket), None).await;
println!("targets is {}", targets.len());
match serde_json::to_vec(&targets) {
Ok(json) => {
@@ -390,7 +390,7 @@ impl BucketTargetSys {
}
async fn is_bucket_versioned(&self, _bucket: &str) -> bool {
return true;
true
// let url_str = "http://127.0.0.1:9001";
// // 转换为 Url 类型