[dependencies.base64]
version = "0.22.1"
[dependencies.bytes]
version = "1.11.0"
[dependencies.chrono]
features = ["serde"]
version = "0.4.42"
[dependencies.dashmap]
version = "6.1.0"
[dependencies.futures-util]
default-features = false
features = ["alloc"]
version = "0.3.31"
[dependencies.inventory]
optional = true
version = "0.3.21"
[dependencies.jsonschema]
optional = true
version = "0.37.4"
[dependencies.memchr]
version = "2.7.6"
[dependencies.neva_macros]
optional = true
version = "0.2.4"
[dependencies.once_cell]
features = ["std"]
optional = true
version = "1.21.3"
[dependencies.reqwest]
features = ["stream", "json"]
optional = true
version = "0.12.24"
[dependencies.schemars]
version = "1.1.0"
[dependencies.serde]
features = ["derive"]
version = "1.0.228"
[dependencies.serde_json]
version = "1.0.145"
[dependencies.sse-stream]
optional = true
version = "0.2.1"
[dependencies.tokio]
features = ["sync", "io-std", "io-util", "rt", "time", "macros"]
version = "1.48.0"
[dependencies.tokio-stream]
optional = true
version = "0.1.17"
[dependencies.tokio-util]
version = "0.7.17"
[dependencies.tracing]
optional = true
version = "0.1.43"
[dependencies.tracing-subscriber]
features = ["fmt", "json"]
optional = true
version = "0.3.22"
[dependencies.uuid]
features = ["v4", "serde"]
version = "1.19.0"
[dependencies.volga]
features = ["di", "jwt-auth-full"]
optional = true
version = "0.7.2"
[dependencies.volga-di]
optional = true
version = "0.7.2"
[dev-dependencies.tokio]
features = ["rt", "rt-multi-thread", "macros"]
version = "1.48.0"
[dev-dependencies.tokio-stream]
version = "0.1.17"
[features]
client = ["dep:windows", "dep:nix", "dep:jsonschema", "tokio/process", "tokio/signal"]
client-full = ["client-macros", "tracing", "http-client", "client-tls"]
client-macros = ["client", "macros", "neva_macros?/client"]
client-tls = ["reqwest?/rustls-tls"]
default = []
di = ["dep:volga-di"]
full = ["server-full", "client-full"]
http-client = ["client", "dep:reqwest", "dep:sse-stream", "dep:tokio-stream", "dep:once_cell"]
http-server = ["server", "dep:volga", "dep:tokio-stream"]
macros = ["dep:neva_macros", "dep:inventory"]
server = ["tokio/signal"]
server-full = ["server-macros", "tracing", "http-server", "server-tls", "di"]
server-macros = ["server", "macros", "neva_macros?/server"]
server-tls = ["volga?/tls", "volga?/dev-cert"]
tracing = ["dep:tracing", "dep:tracing-subscriber", "dep:once_cell", "volga?/tracing"]
[lib]
name = "neva"
path = "src/lib.rs"
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[package]
authors = ["Roman Emreis <roman.emreis@outlook.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming::http-server", "network-programming", "asynchronous"]
description = "MCP SDK for Rust"
documentation = "https://docs.rs/neva"
edition = "2024"
keywords = ["modelcontextprotocol", "mcp", "sdk", "ai", "framework"]
license = "MIT"
name = "neva"
readme = "README.md"
repository = "https://github.com/RomanEmreis/neva"
resolver = "2"
rust-version = "1.90.0"
version = "0.2.4"
[package.metadata.docs.rs]
all-features = true
[target.'cfg(target_os = "linux")'.dependencies.nix]
features = ["signal"]
optional = true
version = "0.30.0"
[target.'cfg(target_os = "windows")'.dependencies.windows]
features = ["Win32_Foundation", "Win32_System_JobObjects", "Win32_System_Threading", "Win32_Security", "Win32_System_Diagnostics", "Win32_System_Diagnostics_ToolHelp"]
optional = true
version = "0.62.0"