From bc5a758c0c4b6a742fea22b3dbfb4df2864f2f14 Mon Sep 17 00:00:00 2001 From: PG Herveou Date: Thu, 8 Feb 2024 17:04:55 +0100 Subject: [PATCH] Contracts update doc.rs metadata (#3241) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adding Rust metadata for doc see https://docs.rs/about/metadata --------- Co-authored-by: Alexander Theißen --- substrate/frame/contracts/uapi/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/substrate/frame/contracts/uapi/Cargo.toml b/substrate/frame/contracts/uapi/Cargo.toml index eb8a9c618209..a5081af2a2d2 100644 --- a/substrate/frame/contracts/uapi/Cargo.toml +++ b/substrate/frame/contracts/uapi/Cargo.toml @@ -23,6 +23,9 @@ scale = { package = "parity-scale-codec", version = "3.6.1", default-features = [target.'cfg(target_arch = "riscv32")'.dependencies] polkavm-derive = '0.5.0' +[package.metadata.docs.rs] +default-target = ["wasm32-unknown-unknown"] + [features] default = ["scale"] scale = ["dep:scale", "scale-info"]