[package]
edition = "2021"
name = "smcp-server-core"
version = "0.1.9"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A2C-SMCP Server core implementation with Socket.IO"
readme = false
keywords = [
"smcp",
"server",
"socketio",
"mcp",
]
categories = [
"network-programming",
"web-programming",
]
license = "MIT"
repository = "https://github.com/A2C-SMCP/rust-sdk"
[features]
default = []
hyper = [
"dep:tower",
"dep:hyper",
"dep:hyper-util",
"dep:http-body-util",
]
[lib]
name = "smcp_server_core"
path = "src/lib.rs"
[[test]]
name = "debug_broadcast"
path = "tests/debug_broadcast.rs"
[[test]]
name = "get_config_complete_test"
path = "tests/get_config_complete_test.rs"
[[test]]
name = "get_config_test"
path = "tests/get_config_test.rs"
[[test]]
name = "get_tools_test"
path = "tests/get_tools_test.rs"
[[test]]
name = "message_forwarding"
path = "tests/message_forwarding.rs"
[[test]]
name = "room_broadcast_test"
path = "tests/room_broadcast_test.rs"
[[test]]
name = "room_management_test"
path = "tests/room_management_test.rs"
[[test]]
name = "security_fixes"
path = "tests/security_fixes.rs"
[[test]]
name = "socketio_interop"
path = "tests/socketio_interop.rs"
[[test]]
name = "test_utils"
path = "tests/test_utils.rs"
[[test]]
name = "tool_call_test"
path = "tests/tool_call_test.rs"
[[test]]
name = "update_config_test"
path = "tests/update_config_test.rs"
[[test]]
name = "utils_test"
path = "tests/utils_test.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.dashmap]
version = "5.5"
[dependencies.futures-util]
version = "0.3"
[dependencies.http]
version = "1.0"
[dependencies.http-body-util]
version = "0.1"
optional = true
[dependencies.hyper]
version = "1"
features = [
"server",
"http1",
"http2",
"full",
]
optional = true
[dependencies.hyper-util]
version = "0.1"
features = [
"tokio",
"service",
"full",
]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.smcp]
version = "0.1.9"
[dependencies.socketioxide]
version = "0.16.3"
features = ["state"]
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"net",
"sync",
"signal",
"process",
]
[dependencies.tower]
version = "0.5"
features = ["util"]
optional = true
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.hyper]
version = "1"
features = [
"server",
"http1",
"http2",
"full",
]
[dev-dependencies.hyper-tungstenite]
version = "0.17"
[dev-dependencies.hyper-util]
version = "0.1"
features = [
"tokio",
"service",
"full",
]
[dev-dependencies.tf-rust-socketio]
version = "0.7.0"
features = ["async"]
[dev-dependencies.tower]
version = "0.5"
features = ["util"]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]