# 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"
rust-version = "1.86"
name = "doiget-mcp"
version = "0.1.3"
authors = ["Sota Shimozono"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "doiget MCP server (stdio only). See ADR-0001."
homepage = "https://github.com/sotashimozono/doiget"
readme = "README.md"
keywords = [
    "doi",
    "arxiv",
    "mcp",
    "academic",
    "openaccess",
]
categories = [
    "command-line-utilities",
    "science",
]
license = "MIT"
repository = "https://github.com/sotashimozono/doiget"

[features]
citation = ["doiget-core/citation"]
default = []

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.camino]
version = "1"

[dependencies.doiget-core]
version = "0.1.3"

[dependencies.rmcp]
version = "1.6"
features = [
    "server",
    "macros",
    "transport-io",
    "schemars",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "fs",
    "process",
    "signal",
    "io-util",
    "sync",
    "time",
]
default-features = false

[dependencies.tracing]
version = "0.1"

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

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

[dependencies.url]
version = "2"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.chrono]
version = "0.4"
features = [
    "serde",
    "clock",
    "std",
]
default-features = false

[dev-dependencies.rmcp]
version = "1.6"
features = [
    "server",
    "macros",
    "transport-io",
    "schemars",
    "client",
]
default-features = false

[dev-dependencies.serde_json]
version = "1"

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "fs",
    "process",
    "signal",
    "io-util",
    "sync",
    "time",
    "io-util",
]
default-features = false

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

[lints.clippy]
dbg_macro = "warn"
expect_used = "warn"
panic = "warn"
print_stderr = "warn"
print_stdout = "deny"
todo = "warn"
unimplemented = "warn"
unwrap_used = "warn"

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
