[package]
edition = "2024"
rust-version = "1.98"
name = "ibridge-auth"
version = "1.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Credentials, credential sources and the iCloud host allowlist."
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_auth"
path = "src/lib.rs"
[[test]]
name = "credentials"
path = "tests/credentials.rs"
[[test]]
name = "sources"
path = "tests/sources.rs"
[dependencies.ibridge-core]
version = "1.1.0"
[dependencies.keyring-core]
version = "1"
[dependencies.secrecy]
version = "0.10"
[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.serde]
version = "1"
[dev-dependencies.temp-env]
version = "0.3"
[dev-dependencies.trybuild]
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