-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
110 lines (97 loc) · 2.54 KB
/
Copy pathCargo.toml
File metadata and controls
110 lines (97 loc) · 2.54 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[package]
name = "nmcp"
version = "0.2.1"
edition = "2021"
license = "MIT"
homepage = "https://github.com/nwrx/nmcp"
description = "A Kubernetes operator for managing Model Context Protocol (MCP) servers in Kubernetes environments."
authors = ["Stanley Horwood <stanley.horwood@nanoworks.io>"]
[profile.release]
opt-level = "z" # Optimize for size
lto = true # Enable Link Time Optimization
codegen-units = 1 # Maximize size reduction optimizations
panic = "abort" # Remove panic unwinding code
strip = true # Strip symbols from binary
[dependencies]
anyhow = "1.0.98"
axum = { version = "0.8.4", features = ["macros"] }
axum_thiserror = "0.1.0"
backtrace-parser = "0.1.0"
chrono = { version = "0.4.41", features = ["serde"] }
futures = "0.3.31"
k8s-openapi = { version = "0.25.0", features = ["v1_30", "schemars"] }
kube = { version = "1.1.0", features = ["runtime", "derive", "client", "ws"] }
schemars = { version = "0.8.0", features = ["chrono"] }
serde = { version = "1.0.206", features = ["derive"] }
serde_json = "1.0.140"
serde_yml = "0.0.12"
termcolor = "1.4.1"
thiserror = "2.0.12"
tower-http = "0.6.4"
uuid = { version = "1.17.0", features = ["v4", "serde"] }
tracing = "0.1.41"
kube-client = "1.1.0"
tracing-core = "0.1.33"
tryhard = "0.5.1"
sysinfo = "0.35.2"
# Tokio runtime and utilities.
tokio = { version = "1.45.1", features = ["full"] }
tokio-util = "0.7.15"
tokio-stream = { version = "0.1.17", features = ["sync", "io-util"] }
# Moka for Thread-safe and concurrent data structures.
[dependencies.moka]
version = "0.12.10"
features = [
"sync",
]
[dependencies.tracing-subscriber]
version = "0.3.19"
features = [
"env-filter",
"json",
]
[dependencies.error-stack]
version = "0.5.0"
features = [
"std",
"backtrace",
"spantrace",
"serde",
]
# Command Line Argument Parser for Rust.
[dependencies.clap]
features = ["derive", "env", "cargo", "wrap_help"]
version = "4.5.39"
# Official MCP protocol implementation for Rust.
[dependencies.rmcp]
branch = "main"
git = "https://github.com/modelcontextprotocol/rust-sdk"
features = [
"client",
"server",
"schemars",
]
# OpenAPI documentation generation for Axum.
[dependencies.aide]
version = "0.14.2"
features = [
"axum",
"axum-json",
"axum-query",
"axum-matched-path",
"axum-extra",
"axum-extra-json-deserializer",
"swagger",
"scalar",
"redoc",
"macros",
]
[dev-dependencies.testcontainers]
version = "0.24.0"
features = ["reusable-containers"]
[dev-dependencies.testcontainers-modules]
version = "0.12.0"
features = ["k3s"]
[[bin]]
name = "nmcp"
path = "src/main.rs"