[package]
edition = "2024"
rust-version = "1.93.0"
name = "vtcode-webmcp"
version = "0.162.3"
authors = ["Vinh Nguyen <vinhnguyen2308@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Authenticated WebMCP bridge and workspace adapter for VT Code"
homepage = "https://github.com/vinhnx/vtcode"
documentation = "https://docs.rs/vtcode-webmcp"
readme = "README.md"
keywords = [
"vtcode",
"webmcp",
"websocket",
"workspace",
"security",
]
categories = [
"development-tools",
"web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/vinhnx/vtcode"
[lib]
name = "vtcode_webmcp"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.axum]
version = "0.8"
features = [
"ws",
"ws",
]
[dependencies.futures]
version = "0.3"
[dependencies.hashbrown]
version = "0.17"
features = ["serde"]
[dependencies.http]
version = "1"
[dependencies.libc]
version = "0.2"
[dependencies.rmcp]
version = "=3.1.4"
features = [
"server",
"macros",
"transport-streamable-http-server",
]
[dependencies.schemars]
version = "1.2"
[dependencies.serde]
version = "1.0"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.11"
[dependencies.shell-words]
version = "1.1"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.52"
features = [
"full",
"fs",
"io-util",
"macros",
"net",
"process",
"rt-multi-thread",
"sync",
"time",
]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tokio-util]
version = "0.7"
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2.5"
[dependencies.uuid]
version = "1.23.2"
features = ["v4"]
[dependencies.vtcode-commons]
version = "0.162.3"
[dependencies.vtcode-exec-events]
version = "0.162.3"
[dependencies.vtcode-safety]
version = "0.162.3"
[dev-dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls-native-roots",
"stream",
]
default-features = false
[dev-dependencies.tempfile]
version = "3.27"
[target."cfg(unix)".dependencies.nix]
version = "0.31"
features = ["fs"]
[lints.clippy]
allow_attributes = "allow"
allow_attributes_without_reason = "warn"
assertions_on_result_states = "allow"
await_holding_lock = "warn"
await_holding_refcell_ref = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_sign_loss = "warn"
collapsible_if = "allow"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
expect_used = "warn"
expl_impl_clone_on_copy = "warn"
fallible_impl_from = "warn"
float_cmp = "warn"
float_cmp_const = "warn"
get_unwrap = "warn"
if_let_mutex = "warn"
indexing_slicing = "warn"
invalid_upcast_comparisons = "warn"
iter_not_returning_iterator = "warn"
large_futures = "warn"
let_underscore_future = "warn"
let_underscore_must_use = "warn"
lossy_float_literal = "warn"
map_err_ignore = "warn"
mem_forget = "warn"
multiple_unsafe_ops_per_block = "warn"
panic = "warn"
panic_in_result_fn = "allow"
rc_mutex = "warn"
string_slice = "warn"
todo = "warn"
unchecked_time_subtraction = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unreachable = "warn"
unused_result_ok = "allow"
unwrap_in_result = "allow"
unwrap_used = "warn"
[lints.rust]
missing_docs = "warn"
trivial_numeric_casts = "warn"
unsafe_code = "warn"
unstable_features = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_qualifications = "warn"
unused_results = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(tarpaulin)",
'cfg(feature, values("schema", "default", "tui"))',
]