third_party_rust_nom/Cargo.toml
hcpl ed39adec49 Pin down minimum Rust that can build nom
To do so, this commit leverages a build script with `version_check`.
It ensures that 128-bit integer support is only implemented for Rust
versions that have 128-bit integers to begin with.
2018-12-30 11:53:13 +01:00

121 lines
2.0 KiB
TOML

[package]
name = "nom"
version = "4.1.1"
authors = [ "contact@geoffroycouprie.com" ]
description = "A byte-oriented, zero-copy, parser combinators library"
license = "MIT"
repository = "https://github.com/Geal/nom"
readme = "README.md"
documentation = "https://docs.rs/nom"
keywords = ["parser", "parser-combinators", "parsing", "streaming", "bit"]
categories = ["parsing"]
include = [
"CHANGELOG.md",
"LICENSE",
".gitignore",
".travis.yml",
"Cargo.toml",
"src/*.rs",
"tests/*.rs"
]
[features]
alloc = []
std = ["alloc", "memchr/use_std"]
default = ["std"]
regexp = ["regex"]
regexp_macros = ["regexp", "lazy_static"]
verbose-errors = ["alloc"]
[dependencies.regex]
version = "^1.0"
optional = true
[dependencies.lazy_static]
version = "^1.0"
optional = true
[dependencies.memchr]
version = "^2.0"
default-features = false
#[dev-dependencies.bytes]
#git = "https://github.com/carllerche/bytes"
#rev = "a7d38e29"
[build-dependencies]
version_check = "^0.1"
[package.metadata.docs.rs]
features = [ "alloc", "std", "regexp", "regexp_macros", "verbose-errors" ]
all-features = true
[[test]]
name = "arithmetic"
[[test]]
name = "arithmetic_ast"
required-features = ["alloc"]
[[test]]
name = "blockbuf-arithmetic"
[[test]]
name = "complete_arithmetic"
[[test]]
name = "complete_float"
[[test]]
name = "css"
[[test]]
name = "custom_errors"
[[test]]
name = "float"
[[test]]
name = "inference"
[[test]]
name = "ini"
required-features = ["alloc"]
[[test]]
name = "ini_str"
required-features = ["alloc"]
[[test]]
name = "issues"
required-features = ["alloc", "regexp_macros"]
[[test]]
name = "json"
[[test]]
name = "mp4"
[[test]]
name = "multiline"
required-features = ["alloc"]
[[test]]
name = "named_args"
[[test]]
name = "overflow"
[[test]]
name = "reborrow_fold"
[[test]]
name = "test1"
[badges]
travis-ci = { repository = "Geal/nom" }
coveralls = { repository = "Geal/nom", branch = "master", service = "github" }
maintenance = { status = "actively-developed" }