# 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.70.0" name = "logos" version = "0.14.2" authors = [ "Maciej Hirsz ", "Jérome Eertmans (maintainer) ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false 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.70.0" [package.metadata.docs.rs] cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] features = ["debug"] 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 = 'logos = "{{version}}"' search = 'logos = "[0-9]+\.[0-9]+\.[0-9]+"' [profile.bench] lto = true [profile.release] lto = true [lib] name = "logos" path = "src/lib.rs" 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" [[example]] name = "json-borrowed" path = "examples/json_borrowed.rs" [dependencies.logos-derive] version = "0.14.2" optional = true [dev-dependencies.ariadne] version = "0.2.0" features = ["auto-color"] [features] debug = ["logos-derive?/debug"] default = [ "export_derive", "std", ] export_derive = ["logos-derive"] forbid_unsafe = ["logos-derive?/forbid_unsafe"] std = []