From 40811eeba7e379f82e66b95867159479b48520c9 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 2 Sep 2019 22:24:12 +0200 Subject: Upgrade to nom 5 --- askama_derive/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'askama_derive/Cargo.toml') diff --git a/askama_derive/Cargo.toml b/askama_derive/Cargo.toml index bf0a1ac..26cd79d 100644 --- a/askama_derive/Cargo.toml +++ b/askama_derive/Cargo.toml @@ -20,7 +20,9 @@ gotham = [] [dependencies] askama_shared = { version = "0.8", path = "../askama_shared" } -nom = "4" +# 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"] } proc-macro2 = "1" quote = "1" syn = "1" -- cgit