Registry / other / cosmwasm-derive

cosmwasm-derive

JSON →
library3.0.7rscratesunverified

A package for auto-generated code used for CosmWasm contract development. This is shipped as part of cosmwasm-std. Do not use directly.

# Cargo.toml [dependencies] cosmwasm-derive = "3.0.7"
INSTALL
IMPORT
SIG · COSMWASM-DERIVE
C
cosmwasm-derive
otherrustv3.0.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Contract
use cosmwasm_derive::Contract;

Derives the Contract trait for a CosmWasm contract.

use cosmwasm_derive::Contract; #[derive(Contract)] pub struct MyContract; fn main() {}
Debug
Known issues
gotchaDo not use directly; use cosmwasm-std instead.
fix
Add cosmwasm-std as a dependency and use its re-exports.
affects: >=3.0.0
Upgrade
Version history
3.0.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Meta
1
Resources
cosmwasm-derive — cargo add cosmwasm-derive · libregistry