# 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.65.0" name = "logos2" version = "0.14.0" authors = [ "Maciej Hirsz ", "Jérome Eertmans (maintainer) ", ] description = "Create ridiculously fast Lexers" homepage = "https://logos.maciej.codes/" readme = "README.md" keywords = [ "lexer", "lexical", "tokenizer", "parser", "no_std", ] categories = [ "parsing", "text-processing", ] license = "MIT OR Apache-2.0" repository = "https://github.com/maciejhirsz/logos" [package.metadata] msrv = "1.65.0" [package.metadata.docs.rs] all-features = true cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] rustdoc-args = [ "--cfg", "docsrs", ] [package.metadata.release] shared-version = true [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "book/src/getting-started.md" replace = "logos2 = \"{{version}}\"" search = 'logos2 = "[0-9]+\.[0-9]+\.[0-9]+"' [profile.bench] lto = true [profile.release] lto = true [lib] name = "logos" bench = false [[example]] name = "brainfuck" path = "examples/brainfuck.rs" doc-scrape-examples = true [[example]] name = "custom_error" path = "examples/custom_error.rs" [[example]] name = "extras" path = "examples/extras.rs" [[example]] name = "json" path = "examples/json.rs" [dependencies.logos-derive2] version = "0.14.0" optional = true [dev-dependencies.ariadne] version = "0.2.0" features = ["auto-color"] [features] default = [ "export_derive", "std", ] export_derive = ["logos-derive2"] std = []