blooio 0.1.0

Typed, low-overhead Rust client for the Blooio API (iMessage/SMS automation), with sync and async surfaces.
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"
name = "blooio"
version = "0.1.0"
authors = ["Sara <sara@idknerdyshit.com>"]
build = false
exclude = ["CLAUDE.md"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed, low-overhead Rust client for the Blooio API (iMessage/SMS automation), with sync and async surfaces."
readme = "README.md"
keywords = [
    "blooio",
    "imessage",
    "sms",
    "api-client",
    "messaging",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/idknerdyshit/blooio"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
async = ["dep:reqwest"]
default = [
    "async",
    "rustls",
    "webhooks",
    "tracing",
]
native-tls = [
    "reqwest?/native-tls",
    "ureq?/native-tls",
    "dep:native-tls",
]
rustls = [
    "reqwest?/rustls",
    "ureq?/rustls",
]
sync = ["dep:ureq"]
tracing = ["dep:tracing"]
webhooks = [
    "dep:hmac",
    "dep:sha2",
    "dep:subtle",
    "dep:hex",
]

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

[[test]]
name = "integration_async"
path = "tests/integration_async.rs"
required-features = ["async"]

[[test]]
name = "integration_sync"
path = "tests/integration_sync.rs"
required-features = ["sync"]

[[test]]
name = "live_smoke"
path = "tests/live_smoke.rs"
required-features = ["async"]

[[test]]
name = "redaction"
path = "tests/redaction.rs"
required-features = [
    "tracing",
    "async",
]

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

[dependencies.hmac]
version = "0.13"
optional = true

[dependencies.http]
version = "1"

[dependencies.native-tls]
version = "0.2"
optional = true

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "query",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"
optional = true

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

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.ureq]
version = "3"
optional = true
default-features = false

[dependencies.uuid]
version = "1"
features = ["v4"]

[dependencies.zeroize]
version = "1"
features = ["zeroize_derive"]

[dev-dependencies.httpmock]
version = "0.7"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

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

[dev-dependencies.tracing-subscriber]
version = "0.3"

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

[lints.clippy]
dbg_macro = "warn"
expect_used = "warn"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
todo = "warn"
unimplemented = "warn"
unwrap_used = "warn"

[lints.clippy.cargo]
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"