2014-10-27 17:21:04 +00:00
|
|
|
[package]
|
|
|
|
|
|
|
|
name = "nom"
|
2021-08-06 12:09:35 +00:00
|
|
|
version = "7.0.0-alpha2"
|
2014-10-27 17:21:04 +00:00
|
|
|
authors = [ "contact@geoffroycouprie.com" ]
|
2015-09-08 16:15:45 +00:00
|
|
|
description = "A byte-oriented, zero-copy, parser combinators library"
|
2015-01-17 17:40:40 +00:00
|
|
|
license = "MIT"
|
|
|
|
repository = "https://github.com/Geal/nom"
|
2015-03-24 07:22:12 +00:00
|
|
|
readme = "README.md"
|
2018-04-08 09:57:13 +00:00
|
|
|
documentation = "https://docs.rs/nom"
|
2015-08-03 17:12:47 +00:00
|
|
|
keywords = ["parser", "parser-combinators", "parsing", "streaming", "bit"]
|
2017-01-20 16:06:40 +00:00
|
|
|
categories = ["parsing"]
|
2019-05-28 09:28:31 +00:00
|
|
|
edition = "2018"
|
2019-05-28 14:41:52 +00:00
|
|
|
autoexamples = false
|
2015-05-16 18:39:39 +00:00
|
|
|
|
2015-11-06 14:37:04 +00:00
|
|
|
include = [
|
|
|
|
"CHANGELOG.md",
|
|
|
|
"LICENSE",
|
2020-06-12 08:53:31 +00:00
|
|
|
"README.md",
|
2015-11-06 14:37:04 +00:00
|
|
|
".gitignore",
|
|
|
|
".travis.yml",
|
|
|
|
"Cargo.toml",
|
|
|
|
"src/*.rs",
|
2019-03-06 17:20:02 +00:00
|
|
|
"src/*/*.rs",
|
2019-03-23 11:01:00 +00:00
|
|
|
"tests/*.rs",
|
2020-10-31 17:35:25 +00:00
|
|
|
"doc/nom_recipes.md",
|
2019-03-23 11:01:00 +00:00
|
|
|
"build.rs"
|
2015-11-06 14:37:04 +00:00
|
|
|
]
|
|
|
|
|
2015-05-16 18:39:39 +00:00
|
|
|
[features]
|
2021-06-21 09:33:39 +00:00
|
|
|
alloc = []
|
|
|
|
std = ["alloc", "memchr/use_std"]
|
|
|
|
default = ["std", "lexical"]
|
2021-08-13 10:57:17 +00:00
|
|
|
lexical = ["lexical-core"]
|
2020-10-17 14:42:46 +00:00
|
|
|
docsrs = []
|
2015-09-07 21:08:14 +00:00
|
|
|
|
2017-05-10 09:41:15 +00:00
|
|
|
[dependencies.memchr]
|
2021-06-24 14:15:38 +00:00
|
|
|
version = "2.0"
|
2017-05-24 16:54:36 +00:00
|
|
|
default-features = false
|
2017-05-10 09:41:15 +00:00
|
|
|
|
2019-04-27 16:09:06 +00:00
|
|
|
[dependencies.lexical-core]
|
2021-04-09 19:53:17 +00:00
|
|
|
version = "^0.7.5"
|
2019-04-27 16:09:06 +00:00
|
|
|
optional = true
|
2017-01-21 10:58:35 +00:00
|
|
|
|
2019-02-23 15:38:44 +00:00
|
|
|
[dev-dependencies]
|
2020-04-06 13:13:42 +00:00
|
|
|
criterion = "0.3"
|
2020-01-14 09:19:17 +00:00
|
|
|
jemallocator = "^0.3"
|
2019-04-28 10:13:53 +00:00
|
|
|
doc-comment = "0.3"
|
2021-08-17 14:43:24 +00:00
|
|
|
proptest = "1.0.0"
|
2019-02-23 15:38:44 +00:00
|
|
|
|
2018-10-12 14:27:42 +00:00
|
|
|
[build-dependencies]
|
2019-11-26 09:55:53 +00:00
|
|
|
version_check = "0.9"
|
2018-10-12 14:27:42 +00:00
|
|
|
|
2018-08-14 09:09:27 +00:00
|
|
|
[package.metadata.docs.rs]
|
2021-07-25 16:15:30 +00:00
|
|
|
features = [ "alloc", "std", "lexical", "docsrs"]
|
2018-08-14 09:09:27 +00:00
|
|
|
all-features = true
|
|
|
|
|
2019-02-23 17:04:28 +00:00
|
|
|
[profile.bench]
|
|
|
|
debug = true
|
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|
|
|
|
|
2019-04-16 08:42:40 +00:00
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
2018-04-08 19:33:24 +00:00
|
|
|
[[test]]
|
|
|
|
name = "arithmetic"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "arithmetic_ast"
|
|
|
|
required-features = ["alloc"]
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "blockbuf-arithmetic"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "css"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "custom_errors"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "float"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "ini"
|
|
|
|
required-features = ["alloc"]
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "ini_str"
|
|
|
|
required-features = ["alloc"]
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "issues"
|
2020-10-11 13:56:30 +00:00
|
|
|
required-features = ["alloc"]
|
2018-04-08 19:33:24 +00:00
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "json"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "mp4"
|
2019-07-02 09:40:42 +00:00
|
|
|
required-features = ["alloc"]
|
2018-04-08 19:33:24 +00:00
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "multiline"
|
|
|
|
required-features = ["alloc"]
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "overflow"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "reborrow_fold"
|
|
|
|
|
|
|
|
[[test]]
|
2020-04-10 14:01:53 +00:00
|
|
|
name = "fnmut"
|
2020-04-10 14:24:29 +00:00
|
|
|
required-features = ["alloc"]
|
2020-04-10 14:01:53 +00:00
|
|
|
|
2019-02-23 15:38:44 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "arithmetic"
|
2019-08-22 10:02:19 +00:00
|
|
|
path = "benches/arithmetic.rs"
|
2019-02-23 15:38:44 +00:00
|
|
|
harness = false
|
|
|
|
|
2020-04-06 13:46:02 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "number"
|
|
|
|
path = "benches/number.rs"
|
|
|
|
harness = false
|
|
|
|
|
2019-02-23 15:38:44 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "http"
|
2019-08-22 10:02:19 +00:00
|
|
|
path = "benches/http.rs"
|
2019-02-23 15:38:44 +00:00
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "ini"
|
2019-08-22 10:02:19 +00:00
|
|
|
path = "benches/ini.rs"
|
2019-02-23 15:38:44 +00:00
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "ini_str"
|
2019-08-22 10:02:19 +00:00
|
|
|
path = "benches/ini_str.rs"
|
2019-02-23 15:38:44 +00:00
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "json"
|
2019-08-22 10:02:19 +00:00
|
|
|
path = "benches/json.rs"
|
2019-02-23 15:38:44 +00:00
|
|
|
harness = false
|
|
|
|
|
2019-04-10 14:42:11 +00:00
|
|
|
[[example]]
|
|
|
|
name = "json"
|
|
|
|
required-features = ["alloc"]
|
2019-08-22 10:02:19 +00:00
|
|
|
path = "examples/json.rs"
|
2019-04-10 14:42:11 +00:00
|
|
|
|
2019-05-08 09:55:45 +00:00
|
|
|
#[[example]]
|
|
|
|
#name = "iterator"
|
2019-05-06 14:45:30 +00:00
|
|
|
|
2019-06-04 04:59:37 +00:00
|
|
|
[[example]]
|
|
|
|
name = "s_expression"
|
2019-08-22 10:02:19 +00:00
|
|
|
path = "examples/s_expression.rs"
|
2019-06-05 02:57:51 +00:00
|
|
|
required-features = ["alloc"]
|
2019-06-04 04:59:37 +00:00
|
|
|
|
2019-12-21 19:17:21 +00:00
|
|
|
[[example]]
|
|
|
|
name = "string"
|
|
|
|
required-features = ["alloc"]
|
|
|
|
path = "examples/string.rs"
|
|
|
|
|
2017-01-21 10:58:35 +00:00
|
|
|
[badges]
|
|
|
|
travis-ci = { repository = "Geal/nom" }
|
2018-05-04 09:35:44 +00:00
|
|
|
coveralls = { repository = "Geal/nom", branch = "master", service = "github" }
|
|
|
|
maintenance = { status = "actively-developed" }
|