diff options
author | Sameer Puri <sameer@users.noreply.github.com> | 2019-02-09 14:34:00 -0600 |
---|---|---|
committer | Sameer Puri <sameer@users.noreply.github.com> | 2019-02-13 18:29:04 -0600 |
commit | 4bdebbf4d1d1edb839eba860b013e3fdb870f66e (patch) | |
tree | 965a5a80b387c0eb719ca568a96a729d9d3f2ade /ipfs-api/src/request | |
parent | f125fdbde329095419630e02ebf33d2c73aeced7 (diff) |
Add actix feature for using actix-web
Diffstat (limited to 'ipfs-api/src/request')
-rw-r--r-- | ipfs-api/src/request/add.rs | 2 | ||||
-rw-r--r-- | ipfs-api/src/request/block.rs | 2 | ||||
-rw-r--r-- | ipfs-api/src/request/config.rs | 2 | ||||
-rw-r--r-- | ipfs-api/src/request/dag.rs | 2 | ||||
-rw-r--r-- | ipfs-api/src/request/files.rs | 2 | ||||
-rw-r--r-- | ipfs-api/src/request/mod.rs | 2 | ||||
-rw-r--r-- | ipfs-api/src/request/tar.rs | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/ipfs-api/src/request/add.rs b/ipfs-api/src/request/add.rs index be7960d..123ba4a 100644 --- a/ipfs-api/src/request/add.rs +++ b/ipfs-api/src/request/add.rs @@ -6,7 +6,7 @@ // copied, modified, or distributed except according to those terms. // -use hyper::Method; +use http::Method; use request::ApiRequest; pub struct Add; diff --git a/ipfs-api/src/request/block.rs b/ipfs-api/src/request/block.rs index 24f5d39..a6dd99c 100644 --- a/ipfs-api/src/request/block.rs +++ b/ipfs-api/src/request/block.rs @@ -6,7 +6,7 @@ // copied, modified, or distributed except according to those terms. // -use hyper::Method; +use http::Method; use request::ApiRequest; #[derive(Serialize)] diff --git a/ipfs-api/src/request/config.rs b/ipfs-api/src/request/config.rs index e586278..e3753ea 100644 --- a/ipfs-api/src/request/config.rs +++ b/ipfs-api/src/request/config.rs @@ -6,7 +6,7 @@ // copied, modified, or distributed except according to those terms. // -use hyper::Method; +use http::Method; use request::ApiRequest; pub struct ConfigEdit; diff --git a/ipfs-api/src/request/dag.rs b/ipfs-api/src/request/dag.rs index 78705f9..2d49c3a 100644 --- a/ipfs-api/src/request/dag.rs +++ b/ipfs-api/src/request/dag.rs @@ -6,7 +6,7 @@ // copied, modified, or distributed except according to those terms. // -use hyper::Method; +use http::Method; use request::ApiRequest; #[derive(Serialize)] diff --git a/ipfs-api/src/request/files.rs b/ipfs-api/src/request/files.rs index 179e1a4..394d7b3 100644 --- a/ipfs-api/src/request/files.rs +++ b/ipfs-api/src/request/files.rs @@ -6,7 +6,7 @@ // copied, modified, or distributed except according to those terms. // -use hyper::Method; +use http::Method; use request::ApiRequest; #[derive(Serialize)] diff --git a/ipfs-api/src/request/mod.rs b/ipfs-api/src/request/mod.rs index 947a912..52df37c 100644 --- a/ipfs-api/src/request/mod.rs +++ b/ipfs-api/src/request/mod.rs @@ -109,5 +109,5 @@ pub trait ApiRequest { /// Method used to make the request. /// - const METHOD: &'static ::hyper::Method = &::hyper::Method::GET; + const METHOD: &'static ::http::Method = &::http::Method::GET; } diff --git a/ipfs-api/src/request/tar.rs b/ipfs-api/src/request/tar.rs index 26772b9..05c1770 100644 --- a/ipfs-api/src/request/tar.rs +++ b/ipfs-api/src/request/tar.rs @@ -6,7 +6,7 @@ // copied, modified, or distributed except according to those terms. // -use hyper::Method; +use http::Method; use request::ApiRequest; pub struct TarAdd; |