# 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 [dependencies] async-trait.workspace = true # Storage-facing replication contracts are isolated in src/replication.rs until # the underlying wire types can move without creating a replication/storage-api cycle. rustfs-filemeta.workspace = true serde = { workspace = true, features = ["derive"] } time = { workspace = true, features = ["parsing", "formatting", "macros", "serde"] } uuid = { workspace = true, features = ["v4", "fast-rng", "macro-diagnostics"] } [dev-dependencies] insta = { workspace = true, features = ["yaml", "json"] } serde_json = { workspace = true, features = ["raw_value"] } tokio = { workspace = true, features = ["macros", "fs", "rt-multi-thread"] } [lints] workspace = true