Skip to content

Commit

Permalink
Contracts update doc.rs metadata (#3241)
Browse files Browse the repository at this point in the history
Adding Rust metadata for doc
see https://docs.rs/about/metadata

---------

Co-authored-by: Alexander Theißen <alex.theissen@me.com>
  • Loading branch information
pgherveou and athei authored Feb 8, 2024
1 parent d54412c commit bc5a758
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions substrate/frame/contracts/uapi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit bc5a758

Please sign in to comment.