From b1f0ccaa03beb5dc7048fe8db7be258f9b4a24d8 Mon Sep 17 00:00:00 2001 From: Basile Henry Date: Fri, 23 Oct 2020 23:20:01 +0200 Subject: Propagate reqwest feature to serde_dhall --- serde_dhall/Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'serde_dhall') diff --git a/serde_dhall/Cargo.toml b/serde_dhall/Cargo.toml index 8882424..cf955a1 100644 --- a/serde_dhall/Cargo.toml +++ b/serde_dhall/Cargo.toml @@ -11,9 +11,13 @@ keywords = ["serde", "serialization", "dhall"] edition = "2018" include = ["src/**/*"] +[features] +default = [ "reqwest" ] +reqwest = [ "dhall/reqwest" ] + [dependencies] serde = { version = "1.0", features = ["derive"] } -dhall = { version = "= 0.7.0", path = "../dhall" } +dhall = { version = "= 0.7.0", path = "../dhall", default-features = false } dhall_proc_macros = { version = "= 0.5.0", path = "../dhall_proc_macros" } doc-comment = "0.3" url = "2.1" -- cgit v1.2.3