# 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 = "2021"
name = "mcp-preview"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP Apps Preview Server - Browser-based UI testing for MCP widgets"
readme = "README.md"
keywords = [
    "mcp",
    "preview",
    "widget",
    "chatgpt",
    "testing",
]
categories = [
    "development-tools",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/paiml/rust-mcp-sdk"

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

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"
features = ["ws"]

[dependencies.futures]
version = "0.3"

[dependencies.mime_guess]
version = "2"

[dependencies.pmcp-widget-utils]
version = "0.1.0"

[dependencies.reqwest]
version = "0.12"
features = ["json"]

[dependencies.rust-embed]
version = "8"

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

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "fs",
]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.tokio-test]
version = "0.4"
