1[package]
2
3name = "nom"
4version = "5.1.2"
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
16include = [
17  "CHANGELOG.md",
18  "LICENSE",
19  "README.md",
20  ".gitignore",
21  ".travis.yml",
22  "Cargo.toml",
23  "src/*.rs",
24  "src/*/*.rs",
25  "tests/*.rs",
26  "build.rs"
27]
28
29[features]
30alloc = []
31std = ["alloc", "memchr/use_std"]
32default = ["std", "lexical"]
33regexp = ["regex"]
34regexp_macros = ["regexp", "lazy_static"]
35lexical = ["lexical-core"]
36
37[dependencies.regex]
38version = "^1.0"
39optional = true
40
41[dependencies.lazy_static]
42version = "^1.0"
43optional = true
44
45[dependencies.memchr]
46version = "^2.0"
47default-features = false
48
49[dependencies.lexical-core]
50version = ">= 0.6, < 0.8"
51optional = true
52
53[dev-dependencies]
54criterion = "0.2"
55jemallocator = "^0.1"
56doc-comment = "0.3"
57
58[build-dependencies]
59version_check = "0.9"
60
61[package.metadata.docs.rs]
62features = [ "alloc", "std", "regexp", "regexp_macros", "lexical"]
63all-features = true
64
65[profile.bench]
66debug = true
67lto = true
68codegen-units = 1
69
70[lib]
71bench = false
72
73[[test]]
74name = "arithmetic"
75
76[[test]]
77name = "arithmetic_ast"
78required-features = ["alloc"]
79
80[[test]]
81name = "blockbuf-arithmetic"
82
83[[test]]
84name = "css"
85
86[[test]]
87name = "custom_errors"
88
89[[test]]
90name = "float"
91
92[[test]]
93name = "inference"
94
95[[test]]
96name = "ini"
97required-features = ["alloc"]
98
99[[test]]
100name = "ini_str"
101required-features = ["alloc"]
102
103[[test]]
104name = "issues"
105required-features = ["alloc", "regexp_macros"]
106
107[[test]]
108name = "json"
109
110[[test]]
111name = "mp4"
112required-features = ["alloc"]
113
114[[test]]
115name = "multiline"
116required-features = ["alloc"]
117
118[[test]]
119name = "named_args"
120
121[[test]]
122name = "overflow"
123
124[[test]]
125name = "reborrow_fold"
126
127[[test]]
128name = "test1"
129
130[[bench]]
131name = "arithmetic"
132path = "benches/arithmetic.rs"
133harness = false
134
135[[bench]]
136name = "http"
137path = "benches/http.rs"
138harness = false
139
140[[bench]]
141name = "ini"
142path = "benches/ini.rs"
143harness = false
144
145[[bench]]
146name = "ini_complete"
147path = "benches/ini_complete.rs"
148harness = false
149
150[[bench]]
151name = "ini_str"
152path = "benches/ini_str.rs"
153harness = false
154
155[[bench]]
156name = "json"
157path = "benches/json.rs"
158harness = false
159
160[[example]]
161name = "json"
162required-features = ["alloc"]
163path = "examples/json.rs"
164
165#[[example]]
166#name = "iterator"
167
168[[example]]
169name = "s_expression"
170path = "examples/s_expression.rs"
171required-features = ["alloc"]
172
173[[example]]
174name = "string"
175required-features = ["alloc"]
176path = "examples/string.rs"
177
178[badges]
179travis-ci = { repository = "Geal/nom" }
180coveralls = { repository = "Geal/nom", branch = "master", service = "github" }
181maintenance = { status = "actively-developed" }
182