From 640b3b2043871bd27f93b093f985b51f8efedab1 Mon Sep 17 00:00:00 2001 From: Jeff Muizelaar Date: Mon, 9 Mar 2020 12:59:28 -0400 Subject: [PATCH] Only use needed features from nom Most importantly stop depending on the large lexical-core dependency. This reduces clean build by about 3 seconds --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e6b8266..d6ab0de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ keywords = ["C","expression","parser"] travis-ci = { repository = "jethrogb/rust-cexpr" } [dependencies] -nom = "5" +nom = { version = "5", default-features = false, features = ["std"] } [dev-dependencies] clang-sys = ">= 0.13.0, < 0.29.0"