Repository: gsquire/sendgrid-rs (language: rust)

Issue:
Test Feature Gates
We should configure TravisCI to test the crate using the various feature flags.


Discussion / hints:

Fix patch:
diff --git a/Cargo.toml b/Cargo.toml
index fbba371..f2a7208 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "sendgrid"
-version = "0.12.1"
+version = "0.13.0"
 edition = "2018"
 authors = ["Garrett Squire <github@garrettsquire.com>"]
 description = "An unofficial client library for the SendGrid API"
@@ -16,8 +16,8 @@ data-encoding = "2.1"
 reqwest = { version = "0.10", default-features = false, features = ["json"] }
 serde = { version = "1.0", features = ["derive"] }
 serde_json = "1.0"
+thiserror = "1.0"
 url = "2.1"
-thiserror = "1.0.20"
 
 [dev-dependencies]
 tokio = { version = "0.2", features = ["macros", "rt-threaded"] }
diff --git a/src/error.rs b/src/error.rs
index 6d97083..406299e 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -6,7 +6,7 @@ use std::{
 use reqwest::{self, header::InvalidHeaderValue, StatusCode};
 use thiserror::Error as ThisError;
 
-/// Wrapper type which contains failed request's status code and body
+/// Wrapper type which contains a failed request's status code and body.
 #[derive(Debug)]
 pub struct RequestNotSuccessful {
     status: StatusCode,
@@ -14,7 +14,7 @@ pub struct RequestNotSuccessful {
 }
 
 impl RequestNotSuccessful {
-    /// create RequestNotSuccessful error from reqwest::Response's statuscode and body
+    /// Create a new unsuccessful request error.
     pub fn new(status: StatusCode, body: String) -> Self {
         Self { status, body }
     }


Test patch: