mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
Unify use of the surf
crate (#3855)
This brings the features used by the `nu_plugin_fetch` and `nu_plugin_post` in line and drops the default-features, reducing the number of pulled-in dependencies and avoiding a second round of compilations. Retry of #3777 but with different features, post and fetch plugin tested Signed-off-by: Daniel Egger <daniel@eggers-club.de>
This commit is contained in:
@ -16,7 +16,7 @@ nu-errors = { path="../nu-errors", version = "0.34.1" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.34.1" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.34.1" }
|
||||
nu-source = { path="../nu-source", version = "0.34.1" }
|
||||
surf = { version="2.2.0", features=["hyper-client"] }
|
||||
surf = { version="2.2.0", default-features = false, features=["h1-client"] }
|
||||
url = "2.2.1"
|
||||
mime = "0.3.16"
|
||||
|
||||
|
@ -19,7 +19,7 @@ nu-protocol = { path="../nu-protocol", version = "0.34.1" }
|
||||
nu-source = { path="../nu-source", version = "0.34.1" }
|
||||
num-traits = "0.2.12"
|
||||
serde_json = "1.0.57"
|
||||
surf = "2.2.0"
|
||||
surf = { version="2.2.0", default-features = false, features=["h1-client"] }
|
||||
url = "2.1.1"
|
||||
|
||||
[features]
|
||||
|
Reference in New Issue
Block a user