Please check build logs and if you believe this is docs.rs' fault, report into this issue report.
Unofficial Rust library for the SendGrid API.
This crate requires Rust 1.15 or higher as it uses a crate that has a custom derive implementation.
sendgrid-rs implements all of the functionality of other supported SendGrid client libraries. To use sendgrid-rs you must first create a SendGrid account and generate an API key. To create an API key for your SendGrid account, use the account management interface or see the SendGrid API Documentation.
sendgrid-rs is available on crates.io and can be included in your Cargo.toml as follows:
[dependencies] sendgrid = "X.X.X"
This library utilises hyper and hyper-native-tls. This crate enables easy TLS setup for mac OS and Windows users. If you are on Linux, you must have OpenSSL installed. The instructions here are the most comprehensive if you have trouble.
An example of using this library can be found in the examples directory. This example code expects to find your SendGrid API key in the process environment. In shells such as Bash or ZSH this can be set as follows:
Please don't hesitate to contact me at the email listed in my profile. I will try to help as quickly as I can. If you would like to contribute, contact me as well.
Thanks to meehow for his contributions to improve the library.