[package]
edition = "2021"
rust-version = "1.94.0"
name = "slang_solidity_cli"
version = "1.3.6"
authors = [
"Slang Team <slang@nomic.foundation>",
"Nomic Foundation <packages@nomic.foundation>",
]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "This crate contains the 'slang_solidity' CLI/cargo binary. Please see the 'slang_solidity' crate for more information."
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/"
[[bin]]
name = "slang_solidity"
path = "src/main.rs"
doc = false
[dependencies.clap]
version = "4.5.40"
features = [
"derive",
"wrap_help",
]
[dependencies.semver]
version = "1.0.28"
features = ["serde"]
[dependencies.serde_json]
version = "1.0.143"
features = ["preserve_order"]
[dependencies.slang_solidity]
version = "1.3.6"
features = ["__private_ariadne_errors"]
[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"
self_named_module_files = "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_continue]
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.clippy.unnecessary_debug_formatting]
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"