feat(storage-api): add contract crate (#3310)

This commit is contained in:
安正超
2026-06-10 04:06:15 +08:00
committed by GitHub
parent f9a5e6d7e6
commit 45391ac776
4 changed files with 52 additions and 0 deletions
Generated
+4
View File
@@ -9986,6 +9986,10 @@ dependencies = [
"tracing",
]
[[package]]
name = "rustfs-storage-api"
version = "1.0.0-beta.7"
[[package]]
name = "rustfs-targets"
version = "1.0.0-beta.7"
+2
View File
@@ -47,6 +47,7 @@ members = [
"crates/scanner", # Scanner for data integrity checks and health monitoring
"crates/security-governance", # Security governance contracts
"crates/signer", # client signer
"crates/storage-api", # Storage API contracts
"crates/targets", # Target-specific configurations and utilities
"crates/trusted-proxies", # Trusted proxies management
"crates/tls-runtime", # Project-wide TLS runtime foundation
@@ -113,6 +114,7 @@ rustfs-s3select-query = { path = "crates/s3select-query", version = "1.0.0-beta.
rustfs-scanner = { path = "crates/scanner", version = "1.0.0-beta.7" }
rustfs-security-governance = { path = "crates/security-governance", version = "1.0.0-beta.7" }
rustfs-signer = { path = "crates/signer", version = "1.0.0-beta.7" }
rustfs-storage-api = { path = "crates/storage-api", version = "1.0.0-beta.7" }
rustfs-trusted-proxies = { path = "crates/trusted-proxies", version = "1.0.0-beta.7" }
rustfs-targets = { path = "crates/targets", version = "1.0.0-beta.7" }
rustfs-tls-runtime = { path = "crates/tls-runtime", version = "1.0.0-beta.7" }
+31
View File
@@ -0,0 +1,31 @@
# Copyright 2024 RustFS Team
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[package]
name = "rustfs-storage-api"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
homepage.workspace = true
description = "Storage API contracts for RustFS."
keywords = ["storage", "api", "contract", "rustfs"]
categories = ["web-programming", "development-tools", "filesystem"]
[lib]
doctest = false
[lints]
workspace = true
+15
View File
@@ -0,0 +1,15 @@
// Copyright 2024 RustFS Team
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//! Storage API contracts for RustFS.