fastmcp-protocol 0.2.0

MCP protocol types and JSON-RPC implementation
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "fastmcp-protocol"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP protocol types and JSON-RPC implementation"
homepage = "https://github.com/Dicklesworthstone/fastmcp_rust"
documentation = "https://docs.rs/fastmcp-protocol"
readme = "README.md"
keywords = [
    "mcp",
    "json-rpc",
    "protocol",
    "schema",
    "serialization",
]
categories = [
    "network-programming",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/Dicklesworthstone/fastmcp_rust"
resolver = "2"

[lib]
name = "fastmcp_protocol"
path = "src/lib.rs"

[dependencies.base64]
version = "0.22"

[dependencies.fastmcp-core]
version = "0.2.0"

[dependencies.regex]
version = "1.11.1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[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"