[package]
edition = "2024"
rust-version = "1.85"
name = "fastmcp-server"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP server implementation for FastMCP"
homepage = "https://github.com/Dicklesworthstone/fastmcp_rust"
documentation = "https://docs.rs/fastmcp-server"
readme = "README.md"
keywords = [
"mcp",
"server",
"json-rpc",
"async",
"tools",
]
categories = [
"network-programming",
"development-tools",
]
license = "MIT"
repository = "https://github.com/Dicklesworthstone/fastmcp_rust"
resolver = "2"
[features]
jwt = ["dep:jsonwebtoken"]
redis = ["dep:redis"]
[lib]
name = "fastmcp_server"
path = "src/lib.rs"
[dependencies.asupersync]
version = "0.2.0"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = [
"std",
"clock",
]
default-features = false
[dependencies.fastmcp-client]
version = "0.2.0"
[dependencies.fastmcp-console]
version = "0.2.0"
[dependencies.fastmcp-core]
version = "0.2.0"
[dependencies.fastmcp-protocol]
version = "0.2.0"
[dependencies.fastmcp-transport]
version = "0.2.0"
[dependencies.getrandom]
version = "0.3"
[dependencies.hmac]
version = "0.12.1"
[dependencies.jsonwebtoken]
version = "10.2.0"
features = [
"rust_crypto",
"use_pem",
]
optional = true
default-features = false
[dependencies.log]
version = "0.4"
[dependencies.redis]
version = "1.0.3"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10.8"
[dev-dependencies.fastmcp-derive]
version = "0.2.0"
[lints.clippy]
approx_constant = "allow"
assigning_clones = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
clone_on_copy = "allow"
collapsible_if = "allow"
decimal_bitwise_operands = "allow"
derivable_impls = "allow"
doc_link_with_quotes = "allow"
doc_markdown = "allow"
field_reassign_with_default = "allow"
format_push_string = "allow"
if_not_else = "allow"
implicit_clone = "allow"
io_other_error = "allow"
items_after_statements = "allow"
len_zero = "allow"
manual_assert = "allow"
manual_div_ceil = "allow"
manual_let_else = "allow"
manual_pattern_char_comparison = "allow"
manual_split_once = "allow"
manual_string_new = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
mut_range_bound = "allow"
needless_borrows_for_generic_args = "allow"
needless_continue = "allow"
needless_pass_by_value = "allow"
ptr_arg = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
ref_option = "allow"
return_self_not_must_use = "allow"
should_implement_trait = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
type_complexity = "allow"
unchecked_time_subtraction = "allow"
uninlined_format_args = "allow"
unnecessary_unwrap = "allow"
unreadable_literal = "allow"
unused_self = "allow"
vec_init_then_push = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "warn"