From 8b14b8a2e94ca512c1f4dceed290bb7782c28cad Mon Sep 17 00:00:00 2001 From: PoiScript Date: Wed, 9 Oct 2019 13:06:59 +0800 Subject: [PATCH] build(orgize): disable nom default features --- orgize/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/orgize/Cargo.toml b/orgize/Cargo.toml index a7ee6c0..6eaf86f 100644 --- a/orgize/Cargo.toml +++ b/orgize/Cargo.toml @@ -26,7 +26,8 @@ indextree = "4.0.0" jetscii = "0.4.4" lazy_static = "1.4.0" memchr = "2.2.1" -nom = "5.0.1" +# we don't need to parse any float number, so lexical crate is redundant +nom = { version = "5.0.1", default-features = false, features = ["std"] } serde = { version = "1.0.101", optional = true, features = ["derive"] } serde_indextree = { version = "0.2.0", optional = true } syntect = { version = "3.3.0", optional = true }