Add `std` default feature
Only implement for String if `std` is enabled
Replace std Vec with heapless
This commit is contained in:
Dániel Buga
2020-10-05 11:56:07 +02:00
parent 71a582b31f
commit 2925f56c1f
8 changed files with 149 additions and 21 deletions

View File

@@ -11,3 +11,8 @@ edition = "2018"
[dependencies]
nom = "4.2.3"
heapless = "0.5.6"
[features]
std = []
default = ["std"]