Expand description
This library supports Alibaba’s Dayu SMS SDK version of ‘2017-05-25’.
Basic usage
use dayu::Dayu;
use serde_json::json;
let dayu = Dayu::new()
.set_access_key("access_key")
.set_access_secret("access_secret")
.set_sign_name("阿里云测试短信");
dayu.sms_send(&["138XXXXXXXX"], "SMS_123456", Some(&json!({"customer": "Rust"}))).await.unwrap();