third_party_rust_nom/Cargo.toml
Xiretza c19f9392c8 Cargo.toml: specify minimum rust version
This field causes cargo to automatically verify that a recent enough
rustc version is being used. For cargo versions before 1.56, adding this
option creates a build warning - from [0]:

> The first version of Cargo that supports this field was released with Rust
> 1.56.0. In older releases, the field will be ignored, and Cargo will display
> a warning.

[0]: https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field
2022-03-14 22:21:03 +01:00

137 lines
2.3 KiB
TOML

[package]
name = "nom"
version = "7.1.0"
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"]
edition = "2018"
autoexamples = false
# also update in README.md (badge and "Rust version requirements" section)
rust-version = "1.48"
include = [
"CHANGELOG.md",
"LICENSE",
"README.md",
".gitignore",
"Cargo.toml",
"src/*.rs",
"src/*/*.rs",
"tests/*.rs",
"doc/nom_recipes.md",
"build.rs"
]
[features]
alloc = []
std = ["alloc", "memchr/std", "minimal-lexical/std"]
default = ["std"]
docsrs = []
[dependencies.minimal-lexical]
version = "0.2.0"
default-features = false
[dependencies.memchr]
version = "2.3"
default-features = false
[dev-dependencies]
doc-comment = "0.3"
proptest = "1.0.0"
[build-dependencies]
version_check = "0.9"
[package.metadata.docs.rs]
features = ["alloc", "std", "docsrs"]
all-features = true
[profile.bench]
debug = true
lto = true
codegen-units = 1
[[test]]
name = "arithmetic"
[[test]]
name = "arithmetic_ast"
required-features = ["alloc"]
[[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"
required-features = ["alloc"]
[[test]]
name = "json"
[[test]]
name = "mp4"
required-features = ["alloc"]
[[test]]
name = "multiline"
required-features = ["alloc"]
[[test]]
name = "overflow"
[[test]]
name = "reborrow_fold"
[[test]]
name = "fnmut"
required-features = ["alloc"]
[[example]]
name = "json"
required-features = ["alloc"]
path = "examples/json.rs"
[[example]]
name = "iterator"
path = "examples/iterator.rs"
[[example]]
name = "s_expression"
path = "examples/s_expression.rs"
required-features = ["alloc"]
[[example]]
name = "string"
required-features = ["alloc"]
path = "examples/string.rs"
[badges]
travis-ci = { repository = "Geal/nom" }
coveralls = { repository = "Geal/nom", branch = "main", service = "github" }
maintenance = { status = "actively-developed" }
[workspace]
members = [".", "benchmarks/"]