# 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-mcp"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
homepage.workspace = true
description = "RustFS MCP (Model Context Protocol) Server"
keywords = ["mcp", "s3", "aws", "rustfs", "server"]
categories = ["development-tools", "web-programming"]
documentation = "https://docs.rs/rustfs-mcp/latest/rustfs_mcp/"

[[bin]]
name = "rustfs-mcp"
path = "src/main.rs"

[dependencies]
# AWS SDK for S3 operations
aws-sdk-s3.workspace = true

# Async runtime and utilities
tokio = { workspace = true, features = ["io-std", "io-util", "macros", "signal"] }

# MCP SDK with macros support
rmcp = { workspace = true, features = ["server", "transport-io", "macros"] }

# Command line argument parsing
clap = { workspace = true, features = ["derive", "env"] }

# Serialization (still needed for S3 data structures)
serde.workspace = true
serde_json.workspace = true
schemars = { workspace = true }

# Error handling
anyhow.workspace = true

# Logging
tracing.workspace = true
tracing-subscriber.workspace = true

# File handling and MIME type detection
mime_guess = { workspace = true }

[dev-dependencies]
# Testing framework and utilities
