# 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 = "flexi-parse" version = "0.10.0" description = "Simple, flexible parsing" documentation = "https://docs.rs/flexi-parse/latest/" readme = "README.md" keywords = [ "parsing", "parse", ] categories = ["parsing"] license = "MIT OR Apache-2.0" repository = "https://github.com/Spartan2909/flexi-parse" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "doc_cfg", "--generate-link-to-definition", ] targets = ["x86_64-unknown-linux-gnu"] [[example]] name = "calc" test = true [[example]] name = "lox" test = true [dependencies.ariadne] version = "0.3" optional = true [dependencies.concat-idents] version = "1" [dependencies.proc-macro2] version = "1.0" optional = true [dependencies.quote] version = "1" optional = true [dependencies.strum] version = "0.25" features = ["derive"] [features] ariadne = ["dep:ariadne"] default = [ "ariadne", "proc-macro", "scan-strings", ] proc-macro = [ "proc-macro2", "proc-macro2/proc-macro", ] proc-macro2 = [ "dep:proc-macro2", "dep:quote", "scan-strings", ] scan-strings = [] [lints.clippy] cast_possible_truncation = "allow" implicit_hasher = "allow" module_name_repetitions = "allow" must_use_candidate = "allow" redundant_pub_crate = "allow" significant_drop_in_scrutinee = "allow" too_many_lines = "allow" use_self = "allow" [lints.clippy.nursery] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] missing_docs = "warn" unsafe_code = "forbid"