Fix building no_std

This commit is contained in:
Dániel Buga
2020-11-27 22:43:28 +01:00
parent 3539edba57
commit a90cc0b95a
3 changed files with 7 additions and 119 deletions

View File

@@ -10,9 +10,12 @@ license = "MPL-2.0"
edition = "2018"
[dependencies]
nom = "4.2.3"
heapless = "0.5.6"
[dependencies.nom]
version = "4.2.3"
default-features = false
[features]
std = []
std = ["nom/std"]
default = ["std"]