1[package] 2 3name = "nom" 4version = "7.1.3" 5authors = [ "contact@geoffroycouprie.com" ] 6description = "A byte-oriented, zero-copy, parser combinators library" 7license = "MIT" 8repository = "https://github.com/Geal/nom" 9readme = "README.md" 10documentation = "https://docs.rs/nom" 11keywords = ["parser", "parser-combinators", "parsing", "streaming", "bit"] 12categories = ["parsing"] 13edition = "2018" 14autoexamples = false 15 16# also update in README.md (badge and "Rust version requirements" section) 17rust-version = "1.48" 18 19include = [ 20 "CHANGELOG.md", 21 "LICENSE", 22 "README.md", 23 ".gitignore", 24 "Cargo.toml", 25 "src/*.rs", 26 "src/*/*.rs", 27 "tests/*.rs", 28 "doc/nom_recipes.md", 29] 30 31[features] 32alloc = [] 33std = ["alloc", "memchr/std", "minimal-lexical/std"] 34default = ["std"] 35docsrs = [] 36 37[dependencies.minimal-lexical] 38version = "0.2.0" 39default-features = false 40 41[dependencies.memchr] 42version = "2.3" 43default-features = false 44 45[dev-dependencies] 46doc-comment = "0.3" 47proptest = "1.0.0" 48 49[package.metadata.docs.rs] 50features = ["alloc", "std", "docsrs"] 51all-features = true 52 53[profile.bench] 54debug = true 55lto = true 56codegen-units = 1 57 58[[test]] 59name = "arithmetic" 60 61[[test]] 62name = "arithmetic_ast" 63required-features = ["alloc"] 64 65[[test]] 66name = "css" 67 68[[test]] 69name = "custom_errors" 70 71[[test]] 72name = "float" 73 74[[test]] 75name = "ini" 76required-features = ["alloc"] 77 78[[test]] 79name = "ini_str" 80required-features = ["alloc"] 81 82[[test]] 83name = "issues" 84required-features = ["alloc"] 85 86[[test]] 87name = "json" 88 89[[test]] 90name = "mp4" 91required-features = ["alloc"] 92 93[[test]] 94name = "multiline" 95required-features = ["alloc"] 96 97[[test]] 98name = "overflow" 99 100[[test]] 101name = "reborrow_fold" 102 103[[test]] 104name = "fnmut" 105required-features = ["alloc"] 106 107[[example]] 108name = "custom_error" 109required-features = ["alloc"] 110path = "examples/custom_error.rs" 111 112[[example]] 113name = "json" 114required-features = ["alloc"] 115path = "examples/json.rs" 116 117[[example]] 118name = "json_iterator" 119required-features = ["alloc"] 120path = "examples/json_iterator.rs" 121 122[[example]] 123name = "iterator" 124path = "examples/iterator.rs" 125 126[[example]] 127name = "s_expression" 128path = "examples/s_expression.rs" 129required-features = ["alloc"] 130 131[[example]] 132name = "string" 133required-features = ["alloc"] 134path = "examples/string.rs" 135 136[badges] 137travis-ci = { repository = "Geal/nom" } 138coveralls = { repository = "Geal/nom", branch = "main", service = "github" } 139maintenance = { status = "actively-developed" } 140 141[workspace] 142members = [".", "benchmarks/"] 143