Crates.io | sms |
lib.rs | sms |
version | 0.1.9 |
source | src |
created_at | 2021-04-16 11:49:25.427126 |
updated_at | 2024-08-14 01:34:07.615421 |
description | Rust sms sdk |
homepage | |
repository | https://github.com/EchoRust/SMS |
max_upload_size | |
id | 385276 |
size | 8,954 |
Rust Send SMS SDK
English | 简体中文
Use Rust to connect to the SMS interface of the cloud platform, and the following cloud platform interfaces have been implemented
use sms::aliyun::Aliyun;
let aliyun = Aliyun::new("accessKeyId", "accessSecret");
let resp = aliyun.send_sms("18888888888", "登录验证", "SMS_5003224", "验证码1234").await.unwarp();
println("{:?}", resp);
Copyright (c) 2020-present, Yang (Echo) Li