Search

Lib.rs

› Email
#injection #api #com

socketlabs

Unofficial Rust library for the SocketLabs Injection API

by Beatriz Rizental. Co-owned by Ryan Kelly, Vlad Filippov.

  • Install
  • API reference
  • GitHub repo (brizental)

5 releases

Uses old Rust 2015

0.2.1 Jul 1, 2019
0.1.3 Jul 27, 2018
0.1.2 Jul 23, 2018
0.1.1 Jul 23, 2018
0.1.0 Jul 23, 2018

#410 in Email

MPL-2.0 license

23KB
370 lines

Unofficial Rust library for the SocketLabs API.

The code for this project resides at https://github.com/brizental/socketlabs-rs

Support

The following APIs are supported

  • Injection

The following APIs are unsupported

  • Notification
  • Marketing
  • Inbound
  • Reporting
  • On-Demand

socketlabs-rs

Unofficial Rust library for the SocketLabs API.

socketlabs-rs is available on crates.io and can be included in your Cargo.toml as follows:

[dependencies]
socketlabs = "0.2.0"

Running the example

You must have valid SocketLabs server_id and api_key to run the example.

SOCKETLABS_SERVER_ID=<your_server_id> SOCKETLABS_API_KEY=<your_api_key> cargo run --example send_email

Generate docs

cargo doc --no-deps --lib --open

License

This software is available under version 2.0 of the MPL:

https://www.mozilla.org/MPL/

Dependencies

~23MB
~464K SLoC

  • failure 0.1.5
  • failure_derive 0.1.5
  • reqwest 0.9.18
  • serde
  • serde_derive 1.0
  • serde_json
See also: fault-injection, wmi, winapi, sendgrid, mailjet_api_wrapper, aws-sdk-pinpointemail, resend-rs, mailgun-rs, postmark, mailslurp, sendgrid-api

Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski. It contains data from multiple sources, including heuristics, and manually curated data. Content of this page is not necessarily endorsed by the authors of the crate. This site is not affiliated with nor endorsed by the Rust Project. If something is missing or incorrect, please file a bug.