# 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 = "slang_solidity" version = "0.18.3" authors = [ "Nomic Foundation ", "Antony Blakey ", "Igor Matuszewski ", "Omar Tawfik ", ] publish = true description = "A modular set of compiler APIs empowering the next generation of Solidity code analysis and developer tooling. Written in Rust and distributed in multiple languages." homepage = "https://nomicfoundation.github.io/slang/" readme = "README.md" keywords = [ "code-analysis", "parser", "sol", "solidity", "yul", ] categories = [ "compilers", "development-tools", "parsing", "parser-implementations", "text-editors", ] license = "MIT" repository = "https://github.com/NomicFoundation/slang/" [dependencies.ariadne] version = "0.2.0" optional = true [dependencies.metaslang_bindings] version = "0.18.3" optional = true [dependencies.metaslang_cst] version = "0.18.3" [dependencies.semver] version = "1.0.23" features = ["serde"] [dependencies.serde] version = "1.0.210" features = [ "derive", "rc", ] [dependencies.strum] version = "0.26.3" [dependencies.strum_macros] version = "0.26.4" [dependencies.thiserror] version = "1.0.64" [features] __experimental_bindings_api = ["dep:metaslang_bindings"] __private_ariadne_errors = ["dep:ariadne"] __private_testing_utils = [] default = [] [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"