[package]
edition = "2021"
rust-version = "1.75"
name = "anypost"
version = "1.0.0"
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official Rust SDK for the Anypost email API."
homepage = "https://anypost.com"
documentation = "https://docs.rs/anypost"
readme = "README.md"
keywords = [
"anypost",
"email",
"api",
"sdk",
]
categories = [
"api-bindings",
"email",
]
license = "MIT"
repository = "https://github.com/anypost/anypost-rust"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "anypost"
path = "src/lib.rs"
[[example]]
name = "send"
path = "examples/send.rs"
[[test]]
name = "blocking"
path = "tests/blocking.rs"
[[test]]
name = "client"
path = "tests/client.rs"
[[test]]
name = "email"
path = "tests/email.rs"
[[test]]
name = "errors"
path = "tests/errors.rs"
[[test]]
name = "pagination"
path = "tests/pagination.rs"
[[test]]
name = "retries"
path = "tests/retries.rs"
[[test]]
name = "webhook_signature"
path = "tests/webhook_signature.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.fastrand]
version = "2"
[dependencies.getrandom]
version = "=0.2.15"
[dependencies.hex]
version = "0.4"
[dependencies.hmac]
version = "0.12"
[dependencies.httpdate]
version = "1"
[dependencies.idna_adapter]
version = "=1.2.0"
[dependencies.percent-encoding]
version = "2"
[dependencies.reqwest]
version = "0.12"
features = [
"default-tls",
"charset",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.subtle]
version = "2.5"
[dependencies.tempfile]
version = "=3.10.1"
[dependencies.tokio]
version = "1"
features = [
"time",
"rt",
]
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.hex]
version = "0.4"
[dev-dependencies.hmac]
version = "0.12"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.sha2]
version = "0.10"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"rt-multi-thread",
"time",
]
[features]
blocking = []
default = []
[target.'cfg(target_vendor = "apple")'.dependencies.security-framework]
version = "=2.11.1"
[target.'cfg(target_vendor = "apple")'.dependencies.security-framework-sys]
version = "=2.11.1"