Unverified Commit 58a5b52d authored by Andrew Jones's avatar Andrew Jones Committed by GitHub
Browse files

Deny unused crate dependencies (#584)

* Deny unused crate dependencies

* Deny unused crate dependencies

* Remove ink_lang_codegen
parent d8e31729
Pipeline #195971 passed with stages
in 12 minutes and 34 seconds
......@@ -479,14 +479,12 @@ dependencies = [
"current_platform",
"env_logger",
"escape8259",
"futures",
"heck",
"hex",
"impl-serde",
"indexmap",
"ink_env",
"ink_lang",
"ink_lang_codegen",
"ink_metadata",
"ink_primitives",
"ink_storage",
......@@ -511,7 +509,6 @@ dependencies = [
"substrate-build-script-utils",
"subxt",
"tempfile",
"thiserror",
"toml",
"url",
"wabt",
......
......@@ -56,13 +56,11 @@ sp-core = "6.0.0"
sp-runtime = "6.0.0"
pallet-contracts-primitives = "6.0.0"
subxt = "0.21.0"
futures = "0.3.19"
hex = "0.4.3"
jsonrpsee = { version = "0.13.1", features = ["ws-client"] }
nom = "7.1.1"
nom-supreme = { version = "0.7.0", features = ["error"] }
indexmap = "1.8.1"
thiserror = "1.0.31"
escape8259 = "0.5.1"
itertools = "0.10.3"
......@@ -86,7 +84,6 @@ predicates = "2.1.1"
ink_primitives = "3"
ink_storage = "3"
ink_lang = "3"
ink_lang_codegen = "3"
[features]
# This `std` feature is required for testing using an inline contract's metadata, because `ink!` annotates the metadata
......
......@@ -52,6 +52,8 @@
//! let json = serde_json::to_value(&metadata).unwrap();
//! ```
#![deny(unused_crate_dependencies)]
mod byte_str;
use semver::Version;
......
......@@ -14,6 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with cargo-contract. If not, see <http://www.gnu.org/licenses/>.
#![deny(unused_crate_dependencies)]
mod cmd;
mod crate_metadata;
mod util;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment