From 8603298dc8c8c80d95199e1f42ec6951264322f1 Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Sat, 21 Nov 2020 12:10:50 +0100 Subject: Disable nom default features This removes unnecessary lexical feature reducing amount of crates Askama depends on. --- askama_shared/Cargo.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'askama_shared') diff --git a/askama_shared/Cargo.toml b/askama_shared/Cargo.toml index 2da9df6..19946e7 100644 --- a/askama_shared/Cargo.toml +++ b/askama_shared/Cargo.toml @@ -19,9 +19,7 @@ yaml = ["serde", "serde_yaml"] [dependencies] askama_escape = { version = "0.10", path = "../askama_escape" } humansize = { version = "1.1.0", optional = true } -# default for features for nom don't work result in linker errors: -# https://github.com/rust-lang/rust/issues/62146 -nom = { version = "6", features = ["std"] } +nom = { version = "6", features = ["std"], default-features = false } num-traits = { version = "0.2.6", optional = true } proc-macro2 = "1" quote = "1" -- cgit