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