# 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 = "substrace" version = "0.2.0" build = "build.rs" publish = true default-run = "cargo-substrace" description = "a tool for linting Substrate projects for specific gotchas and other errors" readme = "README.md" keywords = [ "substrace", "lint", "plugin", ] categories = [ "development-tools", "development-tools::cargo-plugins", ] license = "MIT OR Apache-2.0" repository = "https://github.com/KaiserKarel/substrace" [package.metadata.rust-analyzer] rustc_private = true [[bin]] name = "cargo-substrace" path = "src/main.rs" test = false [[bin]] name = "substrace-driver" path = "src/driver.rs" [dependencies.rustc_tools_util] version = "0.2.0" [dependencies.semver] version = "1.0" [dependencies.substrace_lints] version = "0.2.0" [dependencies.tempfile] version = "3.2" optional = true [dependencies.termize] version = "0.1" [dev-dependencies.clap] version = "3.1" features = ["derive"] [dev-dependencies.compiletest_rs] version = "0.8" features = ["tmp"] [dev-dependencies.derive-new] version = "0.5" [dev-dependencies.filetime] version = "0.2" [dev-dependencies.futures] version = "0.3" [dev-dependencies.if_chain] version = "1.0" [dev-dependencies.itertools] version = "0.10.1" [dev-dependencies.parking_lot] version = "0.12" [dev-dependencies.quote] version = "1.0" [dev-dependencies.regex] version = "1.5" [dev-dependencies.rustc-semver] version = "1.1" [dev-dependencies.rustc-workspace-hack] version = "1.0" [dev-dependencies.serde] version = "1.0.125" features = ["derive"] [dev-dependencies.syn] version = "1.0" features = ["full"] [dev-dependencies.tester] version = "0.9" [dev-dependencies.tokio] version = "1" features = ["io-util"] [dev-dependencies.toml] version = "0.5" [dev-dependencies.walkdir] version = "2.3" [build-dependencies.rustc_tools_util] version = "0.2" [features] deny-warnings = ["substrace_lints/deny-warnings"] integration = ["tempfile"] internal = [ "substrace_lints/internal", "tempfile", ]