# 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" name = "chumsky" version = "1.0.0-alpha.7" authors = [ "Joshua Barretto ", "Elijah Hartvigsen ", ] build = "build.rs" exclude = [ "/misc/*", "/benches/samples/*", ] description = "A parser library for humans with powerful error recovery" readme = "README.md" keywords = [ "parser", "combinator", "token", "language", "syntax", ] categories = [ "parsing", "text-processing", ] license = "MIT" repository = "https://github.com/zesterer/chumsky" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.bench] debug = 2 [[example]] name = "nano_rust" required-features = ["label"] [[example]] name = "json" required-features = ["std"] [[example]] name = "io" required-features = ["std"] [[example]] name = "foo" required-features = ["std"] [[bench]] name = "json" harness = false required-features = ["std"] [[bench]] name = "lex" harness = false [[bench]] name = "parser" harness = false [[bench]] name = "backtrack" harness = false [[bench]] name = "cbor" harness = false [dependencies.either] version = "1.8.1" optional = true [dependencies.hashbrown] version = "0.14" [dependencies.lexical] version = "6.1.1" features = [ "parse-integers", "parse-floats", "format", ] optional = true default-features = false [dependencies.regex-automata] version = "0.3" features = [ "alloc", "meta", "perf", "unicode", "nfa", "dfa", "hybrid", ] optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] optional = true default-features = false [dependencies.spin] version = "0.9" features = ["once"] optional = true default-features = false [dependencies.stacker] version = "0.1" optional = true [dependencies.unicode-ident] version = "1.0.10" [dev-dependencies.ariadne] version = "0.2" [dev-dependencies.ciborium] version = "0.2" [dev-dependencies.criterion] version = "0.4.0" [dev-dependencies.lasso] version = "0.7" [dev-dependencies.logos] version = "0.13" [dev-dependencies.nom] version = "7.1" [dev-dependencies.pest] version = "2.5" [dev-dependencies.pest_derive] version = "2.5" [dev-dependencies.pom] version = "3.2" [dev-dependencies.serde_json] version = "1.0" features = ["preserve_order"] [dev-dependencies.slotmap] version = "1.0" [dev-dependencies.sn] version = "0.1" [dev-dependencies.winnow] version = "0.6.0" [build-dependencies.vergen] version = "=8.1.1" features = [ "git", "gitoxide", ] optional = true [features] _test_stable = [ "std", "spill-stack", "memoization", "extension", "label", "sync", ] default = [ "std", "spill-stack", ] docsrs = ["dep:vergen"] either = ["dep:either"] extension = [] label = [] lexical-numbers = [ "lexical", "unstable", ] memoization = [] nightly = [] pratt = ["unstable"] regex = ["dep:regex-automata"] serde = ["dep:serde"] spill-stack = [ "dep:stacker", "std", ] std = [ "regex-automata?/std", "serde?/std", ] sync = ["spin"] unstable = [] [target."cfg(unix)".dev-dependencies.pprof] version = "0.11" features = [ "flamegraph", "criterion", ]