sms-core 0.2.0

Common traits and types for the smskit multi-provider SMS abstraction.
Documentation

SMS Core

Core traits and types for the smskit multi-provider SMS abstraction.

This crate provides the fundamental building blocks for SMS operations:

  • [SmsClient] trait for sending SMS messages
  • [InboundWebhook] trait for processing incoming webhooks
  • Common types for requests, responses, and errors

Example

use sms_core::{SendRequest, SmsClient};

// Any SMS provider implements SmsClient
let response = client.send(SendRequest {
    to: "+1234567890",
    from: "+0987654321",
    text: "Hello world!"
}).await?;