diff options
| author | Lakelezz <[email protected]> | 2018-11-19 23:27:34 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-11-19 23:27:34 +0100 |
| commit | 1f71892c8714eff8b69908989f91acb32391acea (patch) | |
| tree | 1d00a1a16d68f322bb55b155e3eda90f94d2ccbf /src/internal | |
| parent | Remove everything marked `deprecated` since `v0.5.x` or older (#441) (diff) | |
| download | serenity-1f71892c8714eff8b69908989f91acb32391acea.tar.xz serenity-1f71892c8714eff8b69908989f91acb32391acea.zip | |
Replace `hyper` with `reqwest` (#440)
Diffstat (limited to 'src/internal')
| -rw-r--r-- | src/internal/macros.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/internal/macros.rs b/src/internal/macros.rs index a03e9bd..b9b946d 100644 --- a/src/internal/macros.rs +++ b/src/internal/macros.rs @@ -1,18 +1,5 @@ //! A set of macros for easily working with internals. -#[cfg(feature = "model")] -macro_rules! request_client { - () => {{ - use hyper::net::HttpsConnector; - use hyper_native_tls::NativeTlsClient; - - let tc = NativeTlsClient::new()?; - let connector = HttpsConnector::new(tc); - - HyperClient::with_connector(connector) - }} -} - #[cfg(any(feature = "model", feature = "utils"))] macro_rules! cdn { ($e:expr) => { |