Skip to content

Commit

Permalink
feat: use uclient for http request
Browse files Browse the repository at this point in the history
  • Loading branch information
fMeow committed May 1, 2021
1 parent 277c29b commit b03312b
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 357 deletions.
15 changes: 9 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ status = "actively-developed"

[features]
default = [ "rocksdb", "reqwest_async" ]
blocking = [ "maybe-async/is_sync" ]
reqwest_async = [ "reqwest" ]
reqwest_blocking = [ "reqwest/blocking", "blocking" ]
surf_async = [ "surf", "http-types" ]
blocking = [ "maybe-async/is_sync", "uclient/blocking" ]
reqwest_async = [ "uclient/async_reqwest" ]
reqwest_blocking = [ "uclient/blocking_reqwest", "blocking" ]
surf_async = [ "uclient/async_surf", "http-types" ]
cluster = [ ]
enterprise = [ ]
mmfiles = [ ]
Expand All @@ -42,9 +42,12 @@ thiserror = "1"
typed-builder = "0.9"
url = "2"

[dependencies.uclient]
version = "0.1"

[dependencies.serde]
version = "1"
features = [ "derive" ]
version = "1"
features = [ "derive" ]

[dependencies.reqwest]
version = "0.10"
Expand Down
139 changes: 0 additions & 139 deletions src/client/mod.rs

This file was deleted.

77 changes: 0 additions & 77 deletions src/client/reqwest.rs

This file was deleted.

124 changes: 0 additions & 124 deletions src/client/surf.rs

This file was deleted.

Loading

0 comments on commit b03312b

Please sign in to comment.