| 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] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.48" |
| 15 |
name = "nom" |
| 16 |
version = "7.1.3" |
| 17 |
authors = ["[email protected]"] |
| 18 |
include = [ |
| 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 |
] |
| 29 |
autoexamples = false |
| 30 |
description = "A byte-oriented, zero-copy, parser combinators library" |
| 31 |
documentation = "https://docs.rs/nom" |
| 32 |
readme = "README.md" |
| 33 |
keywords = [ |
| 34 |
"parser", |
| 35 |
"parser-combinators", |
| 36 |
"parsing", |
| 37 |
"streaming", |
| 38 |
"bit", |
| 39 |
] |
| 40 |
categories = ["parsing"] |
| 41 |
license = "MIT" |
| 42 |
repository = "https://github.com/Geal/nom" |
| 43 |
|
| 44 |
[package.metadata.docs.rs] |
| 45 |
features = [ |
| 46 |
"alloc", |
| 47 |
"std", |
| 48 |
"docsrs", |
| 49 |
] |
| 50 |
all-features = true |
| 51 |
|
| 52 |
[profile.bench] |
| 53 |
lto = true |
| 54 |
codegen-units = 1 |
| 55 |
debug = true |
| 56 |
|
| 57 |
[[example]] |
| 58 |
name = "custom_error" |
| 59 |
path = "examples/custom_error.rs" |
| 60 |
required-features = ["alloc"] |
| 61 |
|
| 62 |
[[example]] |
| 63 |
name = "json" |
| 64 |
path = "examples/json.rs" |
| 65 |
required-features = ["alloc"] |
| 66 |
|
| 67 |
[[example]] |
| 68 |
name = "json_iterator" |
| 69 |
path = "examples/json_iterator.rs" |
| 70 |
required-features = ["alloc"] |
| 71 |
|
| 72 |
[[example]] |
| 73 |
name = "iterator" |
| 74 |
path = "examples/iterator.rs" |
| 75 |
|
| 76 |
[[example]] |
| 77 |
name = "s_expression" |
| 78 |
path = "examples/s_expression.rs" |
| 79 |
required-features = ["alloc"] |
| 80 |
|
| 81 |
[[example]] |
| 82 |
name = "string" |
| 83 |
path = "examples/string.rs" |
| 84 |
required-features = ["alloc"] |
| 85 |
|
| 86 |
[[test]] |
| 87 |
name = "arithmetic" |
| 88 |
|
| 89 |
[[test]] |
| 90 |
name = "arithmetic_ast" |
| 91 |
required-features = ["alloc"] |
| 92 |
|
| 93 |
[[test]] |
| 94 |
name = "css" |
| 95 |
|
| 96 |
[[test]] |
| 97 |
name = "custom_errors" |
| 98 |
|
| 99 |
[[test]] |
| 100 |
name = "float" |
| 101 |
|
| 102 |
[[test]] |
| 103 |
name = "ini" |
| 104 |
required-features = ["alloc"] |
| 105 |
|
| 106 |
[[test]] |
| 107 |
name = "ini_str" |
| 108 |
required-features = ["alloc"] |
| 109 |
|
| 110 |
[[test]] |
| 111 |
name = "issues" |
| 112 |
required-features = ["alloc"] |
| 113 |
|
| 114 |
[[test]] |
| 115 |
name = "json" |
| 116 |
|
| 117 |
[[test]] |
| 118 |
name = "mp4" |
| 119 |
required-features = ["alloc"] |
| 120 |
|
| 121 |
[[test]] |
| 122 |
name = "multiline" |
| 123 |
required-features = ["alloc"] |
| 124 |
|
| 125 |
[[test]] |
| 126 |
name = "overflow" |
| 127 |
|
| 128 |
[[test]] |
| 129 |
name = "reborrow_fold" |
| 130 |
|
| 131 |
[[test]] |
| 132 |
name = "fnmut" |
| 133 |
required-features = ["alloc"] |
| 134 |
|
| 135 |
[dependencies.memchr] |
| 136 |
version = "2.3" |
| 137 |
default-features = false |
| 138 |
|
| 139 |
[dependencies.minimal-lexical] |
| 140 |
version = "0.2.0" |
| 141 |
default-features = false |
| 142 |
|
| 143 |
[dev-dependencies.doc-comment] |
| 144 |
version = "0.3" |
| 145 |
|
| 146 |
[dev-dependencies.proptest] |
| 147 |
version = "1.0.0" |
| 148 |
|
| 149 |
[features] |
| 150 |
alloc = [] |
| 151 |
default = ["std"] |
| 152 |
docsrs = [] |
| 153 |
std = [ |
| 154 |
"alloc", |
| 155 |
"memchr/std", |
| 156 |
"minimal-lexical/std", |
| 157 |
] |
| 158 |
|
| 159 |
[badges.coveralls] |
| 160 |
branch = "main" |
| 161 |
repository = "Geal/nom" |
| 162 |
service = "github" |
| 163 |
|
| 164 |
[badges.maintenance] |
| 165 |
status = "actively-developed" |
| 166 |
|
| 167 |
[badges.travis-ci] |
| 168 |
repository = "Geal/nom" |