fastmcp-server 0.8.1

MCP server implementation for FastMCP
# 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-server"
version = "0.8.1"
build = false
exclude = ["src/docket.rs"]
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-file = "LICENSE"
repository = "https://github.com/Dicklesworthstone/fastmcp_rust"

[features]
apps = [
    "fastmcp-protocol/apps",
    "fastmcp-console/apps",
    "dep:html5ever",
]
builtin-auth-server = [
    "fastmcp-protocol/jose",
    "dep:argon2",
]
default = ["legacy-2024-11-05"]
enterprise-auth = ["fastmcp-protocol/jose"]
jwt-resource-auth = ["fastmcp-protocol/jose"]
legacy-2024-11-05 = [
    "fastmcp-protocol/legacy-2024-11-05",
    "fastmcp-transport/legacy-2024-11-05",
    "fastmcp-console/legacy-2024-11-05",
]
oauth-client-credentials = ["fastmcp-protocol/jose"]
proxy = ["dep:fastmcp-client"]
proxy-legacy = [
    "proxy",
    "legacy-2024-11-05",
    "fastmcp-client/legacy-2024-11-05",
]
proxy-tasks = [
    "proxy",
    "tasks",
]
tasks = [
    "fastmcp-protocol/tasks",
    "fastmcp-console/tasks",
    "fastmcp-client?/tasks",
]
websocket = ["fastmcp-transport/websocket-experimental"]
websocket-experimental = ["fastmcp-transport/websocket-experimental"]

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

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

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

[[test]]
name = "pxy_leg_01_dual_era"
path = "tests/pxy_leg_01_dual_era.rs"
required-features = ["proxy-legacy"]

[[test]]
name = "pxy_leg_01_translation"
path = "tests/pxy_leg_01_translation.rs"
required-features = ["proxy-legacy"]

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

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

[dependencies.argon2]
version = "=0.5.3"
features = [
    "alloc",
    "password-hash",
    "zeroize",
]
optional = true
default-features = false

[dependencies.asupersync]
version = "=0.4.9"

[dependencies.base64]
version = "=0.23.1"

[dependencies.cap-fs-ext]
version = "=4.0.3"
features = ["std"]
default-features = false

[dependencies.cap-std]
version = "=4.0.3"
default-features = false

[dependencies.chrono]
version = "=0.4.45"
features = [
    "std",
    "clock",
]
default-features = false

[dependencies.fastmcp-client]
version = "0.8.1"
optional = true
default-features = false

[dependencies.fastmcp-console]
version = "0.8.1"

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

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

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

[dependencies.html5ever]
version = "=0.39.0"
optional = true

[dependencies.log]
version = "=0.4.34"

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

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

[dependencies.url]
version = "=2.5.8"
features = ["std"]
default-features = false

[dependencies.zeroize]
version = "=1.9.0"
features = [
    "alloc",
    "derive",
]
default-features = false

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

[dev-dependencies.fastmcp-derive]
version = "0.8.1"

[dev-dependencies.fastmcp-protocol]
version = "0.8.1"
features = ["legacy-2024-11-05"]

[dev-dependencies.fastmcp-transport]
version = "0.8.1"
features = ["legacy-2024-11-05"]

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

[lints.clippy]
approx_constant = "allow"
assert_is_empty = "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)"]