# 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_graph_builder" version = "0.18.3" authors = [ "Nomic Foundation ", "Antony Blakey ", "Igor Matuszewski ", "Omar Tawfik ", ] publish = true description = "Construct graphs from parsed source code" 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.log] version = "0.4.22" [dependencies.metaslang_cst] version = "0.18.3" [dependencies.regex] version = "1.11.0" [dependencies.serde] version = "1.0.210" features = [ "derive", "rc", ] [dependencies.serde_json] version = "1.0.128" features = ["preserve_order"] [dependencies.smallvec] version = "1.7.0" features = ["union"] [dependencies.thiserror] version = "1.0.64" [dev-dependencies.env_logger] version = "0.11.5" [dev-dependencies.indoc] version = "2.0.5" [dev-dependencies.string-interner] version = "0.17.0" features = [ "std", "inline-more", "backends", ] [dev-dependencies.strum] version = "0.26.3" [dev-dependencies.strum_macros] version = "0.26.4" [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"