Skip to content

Commit

Permalink
Only use needed features from nom
Browse files Browse the repository at this point in the history
Most importantly stop depending on the large lexical-core dependency.

This reduces clean build by about 3 seconds
  • Loading branch information
jrmuizel committed Mar 9, 2020
1 parent c257faa commit 640b3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 640b3b2

Please sign in to comment.