Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust: derive serde and schemars traits so that can be used in CosmWasm contracts #159

Open
larry0x opened this issue Jul 30, 2023 · 0 comments
Labels
enhancement New feature or request rust Issues pertaining to the Rust implementation

Comments

@larry0x
Copy link
Contributor

larry0x commented Jul 30, 2023

CosmWasm requires types to implement serde::{Serialize, Deserialize} and schemars::JsonSchema traits in order for them to be used in contracts.

Suggest introducing an optional cosmwasm trait, that if enabled, will derive these traits.

@crodriguezvega crodriguezvega added enhancement New feature or request rust Issues pertaining to the Rust implementation labels Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rust Issues pertaining to the Rust implementation
Projects
None yet
Development

No branches or pull requests

2 participants