diff options
Diffstat (limited to '')
-rw-r--r-- | vendor/winnow-0.4.7/Cargo.toml | 235 |
1 files changed, 235 insertions, 0 deletions
diff --git a/vendor/winnow-0.4.7/Cargo.toml b/vendor/winnow-0.4.7/Cargo.toml new file mode 100644 index 000000000..8fcbb1225 --- /dev/null +++ b/vendor/winnow-0.4.7/Cargo.toml @@ -0,0 +1,235 @@ +# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO +# +# When uploading crates to the registry Cargo will automatically +# "normalize" Cargo.toml files for maximal compatibility +# with all versions of Cargo and also rewrite `path` dependencies +# to registry (e.g., crates.io) dependencies. +# +# If you are reading this file be aware that the original Cargo.toml +# will likely look very different (and much more reasonable). +# See Cargo.toml.orig for the original contents. + +[package] +edition = "2021" +rust-version = "1.64.0" +name = "winnow" +version = "0.4.7" +include = [ + "build.rs", + "src/**/*", + "Cargo.toml", + "LICENSE*", + "README.md", + "benches/**/*", + "examples/**/*", +] +autoexamples = false +description = "A byte-oriented, zero-copy, parser combinators library" +readme = "README.md" +keywords = [ + "parser", + "parser-combinators", + "parsing", + "streaming", + "bit", +] +categories = ["parsing"] +license = "MIT" +repository = "https://github.com/winnow-rs/winnow" + +[package.metadata.docs.rs] +cargo-args = [ + "-Zunstable-options", + "-Zrustdoc-scrape-examples", +] +features = ["unstable-doc"] +rustdoc-args = [ + "--cfg", + "docsrs", +] + +[[package.metadata.release.pre-release-replacements]] +file = "CHANGELOG.md" +min = 1 +replace = "{{version}}" +search = "Unreleased" + +[[package.metadata.release.pre-release-replacements]] +exactly = 1 +file = "CHANGELOG.md" +replace = "...{{tag_name}}" +search = '\.\.\.HEAD' + +[[package.metadata.release.pre-release-replacements]] +file = "CHANGELOG.md" +min = 1 +replace = "{{date}}" +search = "ReleaseDate" + +[[package.metadata.release.pre-release-replacements]] +exactly = 1 +file = "CHANGELOG.md" +replace = """ +<!-- next-header --> +## [Unreleased] - ReleaseDate +""" +search = "<!-- next-header -->" + +[[package.metadata.release.pre-release-replacements]] +exactly = 1 +file = "CHANGELOG.md" +replace = """ +<!-- next-url --> +[Unreleased]: https://github.com/winnow-rs/winnow/compare/{{tag_name}}...HEAD""" +search = "<!-- next-url -->" + +[profile.bench] +lto = true +codegen-units = 1 +debug = true + +[[example]] +name = "arithmetic" +test = true +required-features = ["alloc"] + +[[example]] +name = "css" +test = true +required-features = ["alloc"] + +[[example]] +name = "custom_error" +test = true +required-features = ["alloc"] + +[[example]] +name = "http" +required-features = ["alloc"] + +[[example]] +name = "ini" +test = true +required-features = ["std"] + +[[example]] +name = "json" +test = true +required-features = ["std"] + +[[example]] +name = "ndjson" +test = true +required-features = ["std"] + +[[example]] +name = "json_iterator" +required-features = ["std"] + +[[example]] +name = "iterator" + +[[example]] +name = "s_expression" +required-features = ["alloc"] + +[[example]] +name = "string" +required-features = ["alloc"] + +[[bench]] +name = "arithmetic" +path = "examples/arithmetic/bench.rs" +harness = false + +[[bench]] +name = "contains_token" +harness = false + +[[bench]] +name = "number" +harness = false + +[[bench]] +name = "http" +path = "examples/http/bench.rs" +harness = false +required-features = ["alloc"] + +[[bench]] +name = "ini" +path = "examples/ini/bench.rs" +harness = false +required-features = ["std"] + +[[bench]] +name = "json" +path = "examples/json/bench.rs" +harness = false +required-features = ["std"] + +[dependencies.anstyle] +version = "0.3.1" +optional = true + +[dependencies.anstyle-stream] +version = "0.2.0" +optional = true + +[dependencies.is-terminal] +version = "0.4.3" +optional = true + +[dependencies.memchr] +version = "2.3" +optional = true +default-features = false + +[dependencies.terminal_size] +version = "0.2.3" +optional = true + +[dev-dependencies.circular] +version = "0.3.0" + +[dev-dependencies.criterion] +version = "0.3.5" + +[dev-dependencies.doc-comment] +version = "0.3" + +[dev-dependencies.escargot] +version = "0.5.7" + +[dev-dependencies.lexopt] +version = "0.3.0" + +[dev-dependencies.proptest] +version = "1.0.0" + +[dev-dependencies.snapbox] +version = "0.4.6" +features = ["examples"] + +[dev-dependencies.term-transcript] +version = "0.2.0" + +[features] +alloc = [] +debug = [ + "dep:anstyle", + "dep:is-terminal", + "dep:terminal_size", + "dep:anstyle-stream", +] +default = ["std"] +simd = ["dep:memchr"] +std = [ + "alloc", + "memchr?/std", +] +unstable-doc = [ + "alloc", + "std", + "simd", +] |