Registry / other / cosmwasm-schema

cosmwasm-schema

JSON →
library3.0.7rscratesunverified

A dev-dependency for CosmWasm contracts to generate JSON Schema files.

# Cargo.toml [dependencies] cosmwasm-schema = "3.0.7"
INSTALL
IMPORT
SIG · COSMWASM-SCHEMA
C
cosmwasm-schema
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.

write_api
use cosmwasm_schema::write_api;

Generate JSON schema for CosmWasm contract messages.

use cosmwasm_schema::write_api; fn main() { write_api! { instantiate: InstantiateMsg, execute: ExecuteMsg, query: QueryMsg, } }
Debug
Known issues
gotchaOnly for dev-dependencies; not for production use.
fix
Add under [dev-dependencies] in Cargo.toml.
affects: >=1.0.0
Upgrade
Version history
3.0.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Meta
1
Resources
cosmwasm-schema — cargo add cosmwasm-schema · libregistry