[package] authors = ["Florent FAYOLLE ", "Christopher Durham ", "Valentin Lorentz "] categories = ["parsing"] description = "A special input type for nom to locate tokens" documentation = "https://docs.rs/nom_locate/" homepage = "https://github.com/fflorent/nom_locate" keywords = ["nom"] license = "MIT" name = "nom_locate" readme = "README.md" repository = "https://github.com/fflorent/nom_locate" version = "4.2.0" edition = "2018" [badges.travis-ci] repository = "fflorent/nom_locate" [features] default = ["std"] std = ["nom/std", "alloc", "memchr/use_std"] alloc = ["nom/alloc"] generic-simd = ["bytecount/generic-simd"] runtime-dispatch-simd = ["bytecount/runtime-dispatch-simd"] stable-deref-trait = ["stable_deref_trait"] [dependencies] bytecount = "^0.6" memchr = { version = ">=1.0.1, <3.0.0", default-features = false } # ^1.0.0 + ^2.0 nom = { version = "7", default-features = false } stable_deref_trait = { version = "^1", optional = true, default-features = false }