docs.rs failed to build usesend-api-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
usesend-api-0.1.0
usesend-rs
Rust SDK for useSend — an open-source Resend alternative.
Installation
[]
= "0.1"
= { = "1", = ["macros", "rt-multi-thread"] }
Quick Start
use SendEmailRequest;
async
Features
- Builder pattern — Fluent API for composing emails, contacts, campaigns, and more
- Sub-service architecture — Organized access via
client.emails,client.domains,client.contacts, etc. - Rate limiting — Built-in governor-based rate limiter with automatic 429 retry
- Typed IDs —
DomainId,EmailId, and other strongly-typed identifiers - Self-hosted support — Point to your own useSend instance with
UseSend::with_base_url() - Environment variable — Read API key from
USESEND_API_KEYviaUseSend::from_env()
👉 Full usage guide → — Domains, Contacts, Campaigns, Feature Flags, and more.
Crate Structure
| Crate | Description |
|---|---|
usesend |
High-level SDK with builder pattern — use this |
usesend-api |
Low-level typed HTTP client and request/response models |
Most users should depend on usesend. Use usesend-api directly only if you need raw access to the API types or want to build your own abstraction layer.
Minimum Supported Rust Version
The MSRV is 1.88 (Rust edition 2024).
Contributing
Contributions are welcome! See CONTRIBUTING.md for guidelines.
License
Licensed under either of MIT or Apache-2.0 at your option.