From cb660c7b8d398800d91d7c4c6c3276959fd14e71 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 29 Jan 2020 21:49:42 +0100 Subject: Move parser into askama_shared --- askama_shared/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'askama_shared/Cargo.toml') diff --git a/askama_shared/Cargo.toml b/askama_shared/Cargo.toml index aefe539..19d3274 100644 --- a/askama_shared/Cargo.toml +++ b/askama_shared/Cargo.toml @@ -18,6 +18,9 @@ yaml = ["serde", "serde_yaml"] [dependencies] askama_escape = { version = "0.3.0", 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 = "5", default-features = false, features = ["std"] } num-traits = { version = "0.2.6", optional = true } serde = { version = "1.0", optional = true, features = ["derive"] } serde_derive = { version = "1.0", optional = true } -- cgit