1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2018"
14rust-version = "1.48"
15name = "nom"
16version = "7.1.3"
17authors = ["contact@geoffroycouprie.com"]
18include = [
19 "CHANGELOG.md",
20 "LICENSE",
21 "README.md",
22 ".gitignore",
23 "Cargo.toml",
24 "src/*.rs",
25 "src/*/*.rs",
26 "tests/*.rs",
27 "doc/nom_recipes.md",
28]
29autoexamples = false
30description = "A byte-oriented, zero-copy, parser combinators library"
31documentation = "https://docs.rs/nom"
32readme = "README.md"
33keywords = [
34 "parser",
35 "parser-combinators",
36 "parsing",
37 "streaming",
38 "bit",
39]
40categories = ["parsing"]
41license = "MIT"
42repository = "https://github.com/Geal/nom"
43
44[package.metadata.docs.rs]
45features = [
46 "alloc",
47 "std",
48 "docsrs",
49]
50all-features = true
51
52[profile.bench]
53lto = true
54codegen-units = 1
55debug = true
56
57[[example]]
58name = "custom_error"
59path = "examples/custom_error.rs"
60required-features = ["alloc"]
61
62[[example]]
63name = "json"
64path = "examples/json.rs"
65required-features = ["alloc"]
66
67[[example]]
68name = "json_iterator"
69path = "examples/json_iterator.rs"
70required-features = ["alloc"]
71
72[[example]]
73name = "iterator"
74path = "examples/iterator.rs"
75
76[[example]]
77name = "s_expression"
78path = "examples/s_expression.rs"
79required-features = ["alloc"]
80
81[[example]]
82name = "string"
83path = "examples/string.rs"
84required-features = ["alloc"]
85
86[[test]]
87name = "arithmetic"
88
89[[test]]
90name = "arithmetic_ast"
91required-features = ["alloc"]
92
93[[test]]
94name = "css"
95
96[[test]]
97name = "custom_errors"
98
99[[test]]
100name = "float"
101
102[[test]]
103name = "ini"
104required-features = ["alloc"]
105
106[[test]]
107name = "ini_str"
108required-features = ["alloc"]
109
110[[test]]
111name = "issues"
112required-features = ["alloc"]
113
114[[test]]
115name = "json"
116
117[[test]]
118name = "mp4"
119required-features = ["alloc"]
120
121[[test]]
122name = "multiline"
123required-features = ["alloc"]
124
125[[test]]
126name = "overflow"
127
128[[test]]
129name = "reborrow_fold"
130
131[[test]]
132name = "fnmut"
133required-features = ["alloc"]
134
135[dependencies.memchr]
136version = "2.3"
137default-features = false
138
139[dependencies.minimal-lexical]
140version = "0.2.0"
141default-features = false
142
143[dev-dependencies.doc-comment]
144version = "0.3"
145
146[dev-dependencies.proptest]
147version = "1.0.0"
148
149[features]
150alloc = []
151default = ["std"]
152docsrs = []
153std = [
154 "alloc",
155 "memchr/std",
156 "minimal-lexical/std",
157]
158
159[badges.coveralls]
160branch = "main"
161repository = "Geal/nom"
162service = "github"
163
164[badges.maintenance]
165status = "actively-developed"
166
167[badges.travis-ci]
168repository = "Geal/nom"
169