[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.futures]
version = "0.3"
[dependencies.mcpkit-core]
version = "0.3.0"
[dependencies.mcpkit-transport]
version = "0.3.0"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
features = ["sync", "rt"]
optional = true
version = "1"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tokio]
features = ["full", "test-util"]
version = "1"
[features]
default = ["tokio-runtime"]
tokio-runtime = ["tokio", "mcpkit-transport/tokio-runtime"]
[lib]
name = "mcpkit_server"
path = "src/lib.rs"
[lints.clippy]
approx_constant = "allow"
assertions_on_constants = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
double_must_use = "allow"
duplicated_attributes = "allow"
float_cmp = "allow"
format_collect = "allow"
format_push_string = "allow"
future_not_send = "allow"
implicit_hasher = "allow"
manual_let_else = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
mixed_attributes_style = "allow"
module_inception = "allow"
needless_continue = "allow"
needless_pass_by_value = "allow"
needless_range_loop = "allow"
needless_return = "allow"
new_ret_no_self = "allow"
option_if_let_else = "allow"
result_large_err = "allow"
return_self_not_must_use = "allow"
significant_drop_in_scrutinee = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
single_match = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
type_repetition_in_bounds = "allow"
unreadable_literal = "allow"
unused_async = "allow"
unused_self = "allow"
use_self = "allow"
while_let_loop = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
unused_assignments = "allow"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings", "asynchronous", "network-programming"]
description = "Server implementation for mcpkit"
edition = "2024"
keywords = ["mcp", "mcp-protocol", "ai", "llm", "sdk"]
license = "MIT OR Apache-2.0"
name = "mcpkit-server"
readme = "README.md"
repository = "https://github.com/praxiomlabs/mcpkit"
resolver = "2"
rust-version = "1.85"
version = "0.3.0"
[package.metadata.cargo-machete]
ignored = ["futures", "serde", "thiserror"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "async_cancellation"
path = "tests/async_cancellation.rs"