[package]
edition = "2024"
rust-version = "1.85"
name = "fastmcp-console"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rich console output for FastMCP servers"
homepage = "https://github.com/Dicklesworthstone/fastmcp_rust"
documentation = "https://docs.rs/fastmcp-console"
readme = "README.md"
keywords = [
"mcp",
"console",
"logging",
"stderr",
"rich",
]
categories = [
"command-line-interface",
"development-tools",
]
license = "MIT"
repository = "https://github.com/Dicklesworthstone/fastmcp_rust"
resolver = "2"
[features]
default = []
full = ["rich_rust/full"]
json = ["rich_rust/json"]
markdown = ["rich_rust/markdown"]
syntax = ["rich_rust/syntax"]
[lib]
name = "fastmcp_console"
path = "src/lib.rs"
[[example]]
name = "agent_detection"
path = "examples/agent_detection.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "custom_theme"
path = "examples/custom_theme.rs"
[[example]]
name = "tables"
path = "examples/tables.rs"
[[example]]
name = "test_server"
path = "examples/test_server.rs"
[[test]]
name = "e2e"
path = "tests/e2e/main.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.fastmcp-core]
version = "0.2.0"
[dependencies.fastmcp-protocol]
version = "0.2.0"
[dependencies.log]
version = "0.4"
features = ["std"]
[dependencies.regex]
version = "1"
[dependencies.rich_rust]
version = "0.1.1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.strip-ansi-escapes]
version = "0.2"
[dependencies.time]
version = "0.3"
features = [
"formatting",
"macros",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[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"