Closed limemloh closed 1 year ago
Remove duplication code by merging concordium-std-derive into concordium-contracts-common-derive. Related to https://github.com/Concordium/concordium-rust-smart-contracts/issues/290. Should be merged before https://github.com/Concordium/concordium-rust-smart-contracts/pull/291.
concordium-std-derive
concordium-contracts-common-derive
is_valid_contract_name
is_valid_receive_name
concordium-contracts-common
smart-contract
Purpose
Remove duplication code by merging
concordium-std-derive
intoconcordium-contracts-common-derive
. Related to https://github.com/Concordium/concordium-rust-smart-contracts/issues/290. Should be merged before https://github.com/Concordium/concordium-rust-smart-contracts/pull/291.Changes
concordium-std-derive
toconcordium-contracts-common-derive
.is_valid_contract_name
andis_valid_receive_name
fromconcordium-contracts-common
to avoid the dependency in the macro.smart-contract
feature toconcordium-contracts-common
, which enables the macros only relevant in a smart contract.concordium-contracts-common-derive
by moving the logic of the derive macros and attribute macros into separate modules.Checklist