nushell/crates/nu_plugin_fetch/Cargo.toml
Daniel Egger 7f7af2bbaa
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>
2021-07-29 19:26:38 +12:00

24 lines
655 B
TOML

[package]
authors = ["The Nu Project Contributors"]
description = "A URL fetch plugin for Nushell"
edition = "2018"
license = "MIT"
name = "nu_plugin_fetch"
version = "0.34.1"
[lib]
doctest = false
[dependencies]
base64 = "0.13.0"
futures = { version="0.3.12", features=["compat", "io-compat"] }
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", default-features = false, features=["h1-client"] }
url = "2.2.1"
mime = "0.3.16"
[build-dependencies]