ibridge-server 1.0.1

MCP server, tool routers and error mapping.
Documentation
# 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 = "2024"
rust-version = "1.98"
name = "ibridge-server"
version = "1.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP server, tool routers and error mapping."
homepage = "https://ibridge.fyi"
readme = "README.md"
keywords = [
    "icloud",
    "mcp",
    "mail",
    "calendar",
    "contacts",
]
categories = [
    "email",
    "command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/AlexanderTar/ibridge-mcp"

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

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

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

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

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

[dependencies.axum]
version = "0.8"
features = [
    "form",
    "http1",
    "json",
    "query",
    "tokio",
]
default-features = false

[dependencies.base64]
version = "0.23"

[dependencies.ibridge-core]
version = "1.0.1"

[dependencies.rmcp]
version = "3.10"
features = [
    "server",
    "macros",
    "schemars",
    "transport-streamable-http-server",
]
default-features = false

[dependencies.schemars]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "io-util",
    "macros",
    "net",
    "rt",
    "rt-multi-thread",
    "sync",
    "time",
]

[dependencies.trait-variant]
version = "0.1"

[dev-dependencies.insta]
version = "1"
features = ["json"]

[dev-dependencies.rmcp]
version = "3.10"
features = ["client"]
default-features = false

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

[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
as_conversions = "warn"
cast_possible_truncation = "warn"
cast_sign_loss = "warn"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
enum_glob_use = "allow"
exhaustive_enums = "warn"
expect_used = "allow"
fn_params_excessive_bools = "warn"
missing_assert_message = "warn"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_inception = "allow"
module_name_repetitions = "allow"
multiple_unsafe_ops_per_block = "warn"
must_use_candidate = "allow"
panic_in_result_fn = "warn"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
redundant_clone = "warn"
string_add = "warn"
struct_excessive_bools = "warn"
todo = "warn"
undocumented_unsafe_blocks = "warn"
unwrap_used = "warn"
wildcard_imports = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unsafe_op_in_unsafe_fn = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1