# 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 = "origin-mcp"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP server for Origin — personal agent memory layer"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/7xuanlu/origin"

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

[[bin]]
name = "origin-mcp"
path = "src/main.rs"

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"

[dependencies.base64]
version = "0.22"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.dirs]
version = "6"

[dependencies.http]
version = "1"

[dependencies.origin-types]
version = "0.7.0"

[dependencies.rand]
version = "0.10"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.rmcp]
version = "~1.5"
features = [
    "server",
    "transport-io",
    "transport-streamable-http-server",
]

[dependencies.schemars]
version = "1"

[dependencies.semver]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-util]
version = "0.7"

[dependencies.tower]
version = "0.5"

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.portpicker]
version = "0.1"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.wiremock]
version = "0.6"
