Concordium / concordium-rust-smart-contracts

Libraries and tools for writing and testing smart contracts on Concordium
https://docs.rs/concordium-std/latest/concordium_std/
Mozilla Public License 2.0
57 stars 35 forks source link

Move serialization macros out of concordium-std-derive into its own crate #76

Closed abizjak closed 2 years ago

abizjak commented 2 years ago

Task description

Currently it is not possible to use serialization derivation macros in off-chain code since it is part of concordium-std-derive, which is not meant to be used by off-chain code (it essentially depends on concordium-std and its imports).

We should split out the serialization macros into its own crate and change the imports to use concordium-contracts-common instead. This will allow using them from off-chain code. This crate should live in concordium-contracts-common repository.

Sub-tasks

limemloh commented 2 years ago

Duplicate of https://github.com/Concordium/concordium-rust-smart-contracts/issues/146