# 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.79.0" name = "metaslang_cst" version = "0.18.3" authors = [ "Nomic Foundation ", "Antony Blakey ", "Igor Matuszewski ", "Omar Tawfik ", ] publish = true description = "A generic library for building, navigating and querying concrete syntax trees." homepage = "https://nomicfoundation.github.io/slang/" readme = "README.md" keywords = ["parser"] categories = [ "compilers", "parsing", "parser-implementations", ] license = "MIT" repository = "https://github.com/NomicFoundation/slang/" [dependencies.nom] version = "7.1.3" [dependencies.serde] version = "1.0.210" features = [ "derive", "rc", ] [dependencies.thiserror] version = "1.0.64" [lints.clippy] all = "warn" cargo = "warn" clone_on_ref_ptr = "warn" collection_is_never_read = "warn" equatable_if_let = "warn" exit = "warn" pedantic = "warn" redundant_else = "warn" rest_pat_in_fully_bound_structs = "warn" useless_let_if_seq = "warn" verbose_file_reads = "warn" [lints.clippy.assigning_clones] level = "allow" priority = 1 [lints.clippy.match_same_arms] level = "allow" priority = 1 [lints.clippy.missing_errors_doc] level = "allow" priority = 1 [lints.clippy.missing_panics_doc] level = "allow" priority = 1 [lints.clippy.module_name_repetitions] level = "allow" priority = 1 [lints.clippy.multiple_crate_versions] level = "allow" priority = 1 [lints.clippy.must_use_candidate] level = "allow" priority = 1 [lints.clippy.needless_raw_string_hashes] level = "allow" priority = 1 [lints.clippy.redundant_closure_for_method_calls] level = "allow" priority = 1 [lints.rust] elided_lifetimes_in_paths = "warn" explicit_outlives_requirements = "warn" meta_variable_misuse = "warn" unused_crate_dependencies = "warn" unused_extern_crates = "warn" unused_lifetimes = "warn" unused_macro_rules = "warn"