Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
93 lines (76 loc) · 2.99 KB
/
Copy pathCargo.toml
File metadata and controls
93 lines (76 loc) · 2.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# 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 = "0.9.1"
edition = "2024"
license = "Apache-2.0"
repository = "https://github.com/rustfs/mcp"
authors = ["RustFS Team"]
homepage = "https://rustfs.com"
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/"
exclude = [".github/", ".dockerignore", "Dockerfile", "docs/"]
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
targets = ["x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu"]
rustc-args = ["--cfg", "tokio_unstable"]
rustdoc-args = ["--cfg", "docsrs", "--cfg", "tokio_unstable"]
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }.tar.gz"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-v{ version }-{ target }.zip"
pkg-fmt = "zip"
[features]
default = []
io-uring = ["tokio/io-uring"]
[[bin]]
name = "rustfs-mcp"
path = "src/main.rs"
[lints.rust]
unsafe_code = "warn"
unused = "warn"
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] }
[lints.clippy]
all = "warn"
needless_borrow = "warn"
redundant_closure = "warn"
[dependencies]
# AWS SDK for S3 operations
aws-sdk-s3 = { version = "1.162.0", default-features = false, features = ["sigv4a", "default-https-client", "rt-tokio"] }
aws-smithy-http-client = { version = "1.5.3", default-features = false, features = ["default-client", "rustls-aws-lc"] }
# Async runtime and utilities
tokio = { version = "1.54.1", default-features = false, features = ["fs", "io-std", "io-util", "macros", "rt-multi-thread"] }
# MCP SDK with macros support
rmcp = { version = "3.12.0", default-features = false, features = ["server", "transport-io", "macros"] }
# Command line argument parsing
clap = { version = "4.6.10", features = ["derive", "env"] }
# Serialization (still needed for S3 data structures)
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.154"
schemars = "1.2.3"
# Error handling
anyhow = { version = "1.0.105" }
# Logging
tracing = { version = "0.1.44" }
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
# File handling and MIME type detection
mime_guess = { version = "2.0.5" }
[lib]
doctest = false