ibridge 1.0.1

iCloud Mail, Calendar, Reminders and Contacts MCP server.
# 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"
version = "1.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "iCloud Mail, Calendar, Reminders and Contacts MCP server."
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"

[package.metadata.cargo-shear]
ignored = ["secret-service"]

[features]
calendar = [
    "dep:ibridge-calendar",
    "dep:ibridge-dav",
]
contacts = [
    "dep:ibridge-contacts",
    "dep:ibridge-dav",
]
default = [
    "mail",
    "calendar",
    "contacts",
    "stdio",
    "http",
]
hosted = [
    "http",
    "dep:ibridge-hosted",
]
http = [
    "dep:base64",
    "dep:getrandom",
    "dep:secrecy",
    "dep:subtle",
]
mail = ["dep:ibridge-mail"]
stdio = ["rmcp/transport-io"]

[[bin]]
name = "ibridge"
path = "src/main.rs"

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

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.23"
optional = true

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

[dependencies.getrandom]
version = "0.4"
optional = true

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

[dependencies.ibridge-calendar]
version = "1.0.1"
optional = true

[dependencies.ibridge-contacts]
version = "1.0.1"
optional = true

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

[dependencies.ibridge-dav]
version = "1.0.1"
optional = true

[dependencies.ibridge-hosted]
version = "1.0.1"
optional = true

[dependencies.ibridge-mail]
version = "1.0.1"
optional = true

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

[dependencies.keyring-core]
version = "1"

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

[dependencies.rpassword]
version = "7"

[dependencies.secrecy]
version = "0.10"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.subtle]
version = "2"
optional = true

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "json",
    "std",
]
default-features = false

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

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

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

[target.'cfg(target_os = "linux")'.dependencies.secret-service]
version = "5"
features = ["crypto-rust"]

[target.'cfg(target_os = "linux")'.dependencies.zbus-secret-service-keyring-store]
version = "1"

[target.'cfg(target_os = "macos")'.dependencies.apple-native-keyring-store]
version = "1"
features = ["keychain"]
default-features = false

[target.'cfg(target_os = "windows")'.dependencies.windows-native-keyring-store]
version = "1"

[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