fastmcp-cli 0.7.1

CLI tooling for FastMCP - run, inspect, and install MCP servers
# 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-cli"
version = "0.7.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "fastmcp"
description = "CLI tooling for FastMCP - run, inspect, and install MCP servers"
homepage = "https://github.com/Dicklesworthstone/fastmcp_rust"
documentation = "https://docs.rs/fastmcp-cli"
readme = "README.md"
keywords = [
    "mcp",
    "cli",
    "server",
    "tools",
    "json-rpc",
]
categories = [
    "command-line-interface",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/Dicklesworthstone/fastmcp_rust"

[features]
apps = [
    "fastmcp-protocol/apps",
    "fastmcp-client/apps",
    "fastmcp-console/apps",
    "fastmcp-server?/apps",
]
builtin-auth-server = [
    "dep:fastmcp-server",
    "fastmcp-server/builtin-auth-server",
    "fastmcp-console/builtin-auth-server",
]
default = ["legacy-2024-11-05"]
e2e-fixture = ["dep:fastmcp-rust"]
jwt-resource-auth = [
    "dep:fastmcp-server",
    "fastmcp-server/jwt-resource-auth",
    "fastmcp-console/jwt-resource-auth",
]
legacy-2024-11-05 = [
    "fastmcp-protocol/legacy-2024-11-05",
    "fastmcp-transport/legacy-2024-11-05",
    "fastmcp-client/legacy-2024-11-05",
    "fastmcp-console/legacy-2024-11-05",
    "fastmcp-server?/legacy-2024-11-05",
]
proxy = [
    "dep:fastmcp-server",
    "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",
]
redis-tasks = [
    "tasks",
    "dep:fastmcp-server",
    "fastmcp-server/redis-tasks",
    "fastmcp-console/redis-tasks",
]
safe-icon-rendering = ["fastmcp-client/safe-icon-rendering"]
tasks = [
    "fastmcp-protocol/tasks",
    "fastmcp-client/tasks",
    "fastmcp-console/tasks",
    "fastmcp-server?/tasks",
]
websocket-experimental = [
    "fastmcp-transport/websocket-experimental",
    "fastmcp-client/websocket-experimental",
    "fastmcp-console/websocket-experimental",
    "fastmcp-server?/websocket-experimental",
]

[[bin]]
name = "fastmcp"
path = "src/main.rs"

[[bin]]
name = "fastmcp_cli_e2e_server"
path = "tests/fixtures/fastmcp_cli_e2e_server.rs"
test = false
bench = false
doc = false
required-features = ["e2e-fixture"]

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

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

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

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

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

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

[dependencies.asupersync]
version = "=0.4.9"

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

[dependencies.clap]
version = "=4.6.6"
features = [
    "derive",
    "env",
    "wrap_help",
]

[dependencies.console]
version = "=0.16.4"

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

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

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

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

[dependencies.fastmcp-rust]
version = "0.7.1"
optional = true

[dependencies.fastmcp-server]
version = "0.7.1"
optional = true
default-features = false

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

[dependencies.glob]
version = "=0.3.4"

[dependencies.log]
version = "=0.4.33"

[dependencies.notify]
version = "=8.2.0"

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

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

[dependencies.serde_yaml]
version = "=0.9.34"

[dependencies.toml]
version = "=1.1.4"

[target."cfg(unix)".dependencies.rustix]
version = "=1.1.4"
features = [
    "fs",
    "process",
    "std",
]
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)"]