fastmcp-rust 0.7.0

Asupersync-based MCP framework for Rust
# 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.100"
name = "fastmcp-rust"
version = "0.7.0"
build = false
exclude = [
    "tests/fnd_01_dependency_evidence.rs",
    "tests/fnd_01_dependency_evidence.rs.*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Asupersync-based MCP framework for Rust"
homepage = "https://github.com/Dicklesworthstone/fastmcp_rust"
documentation = "https://docs.rs/fastmcp-rust"
readme = "README.md"
keywords = [
    "mcp",
    "json-rpc",
    "async",
    "ai",
    "protocol",
]
categories = [
    "network-programming",
    "api-bindings",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/Dicklesworthstone/fastmcp_rust"

[features]
apps = [
    "fastmcp-protocol/apps",
    "fastmcp-server/apps",
    "fastmcp-client/apps",
    "fastmcp-derive/apps",
    "fastmcp-console/apps",
]
builtin-auth-server = [
    "fastmcp-protocol/jose",
    "fastmcp-server/builtin-auth-server",
    "fastmcp-console/builtin-auth-server",
]
default = [
    "legacy-2024-11-05",
    "tasks",
]
legacy-2024-11-05 = [
    "fastmcp-protocol/legacy-2024-11-05",
    "fastmcp-transport/legacy-2024-11-05",
    "fastmcp-server/legacy-2024-11-05",
    "fastmcp-client/legacy-2024-11-05",
    "fastmcp-console/legacy-2024-11-05",
]
proxy = [
    "fastmcp-server/proxy",
    "fastmcp-console/proxy",
]
proxy-legacy = [
    "proxy",
    "legacy-2024-11-05",
    "fastmcp-server/proxy-legacy",
    "fastmcp-console/proxy-legacy",
]
proxy-tasks = [
    "proxy",
    "tasks",
    "fastmcp-server/proxy-tasks",
    "fastmcp-console/proxy-tasks",
]
tasks = [
    "fastmcp-protocol/tasks",
    "fastmcp-server/tasks",
    "fastmcp-client/tasks",
    "fastmcp-derive/tasks",
    "fastmcp-console/tasks",
]
testing = []
testing-lab = [
    "testing",
    "asupersync/test-internals",
]
websocket-experimental = [
    "fastmcp-transport/websocket-experimental",
    "fastmcp-server/websocket",
    "fastmcp-client/websocket-experimental",
    "fastmcp-console/websocket-experimental",
]

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

[[bin]]
name = "echo_server"
path = "examples/echo_server.rs"
required-features = [
    "legacy-2024-11-05",
    "tasks",
]

[[example]]
name = "bench"
path = "examples/bench.rs"

[[example]]
name = "calculator_server"
path = "examples/calculator_server.rs"

[[example]]
name = "fnd_01_evidence_harness"
path = "examples/fnd_01_evidence_harness.rs"

[[example]]
name = "fnd_01_sdk_batch"
path = "examples/fnd_01_sdk_batch.rs"

[[example]]
name = "notes_server"
path = "examples/notes_server.rs"

[[example]]
name = "weather_server"
path = "examples/weather_server.rs"

[[test]]
name = "e2e_middleware"
path = "tests/e2e_middleware.rs"
required-features = ["testing-lab"]

[[test]]
name = "e2e_modern_http"
path = "tests/e2e_modern_http.rs"
required-features = ["legacy-2024-11-05"]

[[test]]
name = "e2e_protocol"
path = "tests/e2e_protocol.rs"
required-features = [
    "testing-lab",
    "legacy-2024-11-05",
    "tasks",
]

[[test]]
name = "e2e_stress"
path = "tests/e2e_stress.rs"
required-features = ["testing-lab"]

[[test]]
name = "e2e_workflow"
path = "tests/e2e_workflow.rs"
required-features = [
    "testing-lab",
    "tasks",
    "legacy-2024-11-05",
]

[[test]]
name = "macro_expansion"
path = "tests/macro_expansion.rs"

[[test]]
name = "rel_quar_00_a_contract"
path = "tests/rel_quar_00_a_contract.rs"

[[test]]
name = "trybuild_tests"
path = "tests/trybuild_tests.rs"

[dependencies.asupersync]
version = "=0.4.9"

[dependencies.fastmcp-client]
version = "0.7.0"
default-features = false

[dependencies.fastmcp-console]
version = "0.7.0"
optional = true

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

[dependencies.fastmcp-derive]
version = "0.7.0"

[dependencies.fastmcp-protocol]
version = "0.7.0"

[dependencies.fastmcp-server]
version = "0.7.0"
default-features = false

[dependencies.fastmcp-transport]
version = "0.7.0"

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

[dependencies.serde_json]
version = "=1.0.151"
features = ["arbitrary_precision"]

[dev-dependencies.asupersync]
version = "=0.4.9"
features = ["test-internals"]

[dev-dependencies.flate2]
version = "=1.1.9"

[dev-dependencies.proc-macro2]
version = "=1.0.107"
features = ["span-locations"]
default-features = false

[dev-dependencies.ring]
version = "=0.17.14"
features = ["alloc"]
default-features = false

[dev-dependencies.semver]
version = "=1.0.28"

[dev-dependencies.sha2]
version = "=0.11.0"
default-features = false

[dev-dependencies.toml]
version = "=1.1.4"

[dev-dependencies.trybuild]
version = "=1.0.120"
default-features = false

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

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fnd01_bootstrap)"]