From acc7e64a0d0d26ad2c529b992b96b72f8029d29d Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 26 Feb 2019 17:54:11 +0100 Subject: refactor: Use cURL's own basic auth implementation Drops the dependency on the base64-crate, which it turns out isn't necessary as cURL has this built-in. --- src/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests.rs') diff --git a/src/tests.rs b/src/tests.rs index 9fce04b15f21..97798dbcdd26 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -101,7 +101,7 @@ fn test_bearer_auth() { assert!(response.is_success(), "authorized request should succeed"); } -#[cfg(feature = "basic_auth")] #[test] +#[test] fn test_basic_auth() { let request = Request::new( Method::Get, "https://httpbin.org/basic-auth/alan_watts/oneness" -- cgit 1.4.1