• Michael Müller's avatar
    [abi] Improve JSON encoding of selectors + layout key (#207) · 48fb16f0
    Michael Müller authored
    * Export selector as hex string
    
    To have an unambiguous exported representation.
    The previously used `u32` can be interpreted
    differently depending on the endianness of the
    target system.
    
    * Improve JSON encoding of Key `layout` in Metadata
    
    * Add tests for selector serialization
    
    * Encode selector as [u8; 4]
    
    * Remove unused import
    
    * Satisfy rustfmt check
    
    * Improve messages! macro
    
    * Convert tabs to spaces.
    * Replace `DELIMITER` with `@delimiter`.
    * Improve comments.
    
    * Improve comment
    
    * Ensure old ABI format stays the same
    
    * Reduce code duplication by introducing selector_to_expr()
    
    * Satisfy rustfmt
    48fb16f0
Name
Last commit
Last update
abi Loading commit data...
alloc Loading commit data...
cli Loading commit data...
core Loading commit data...
examples Loading commit data...
lang Loading commit data...
model Loading commit data...
scripts Loading commit data...
utils Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.rustfmt.toml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.md Loading commit data...
Cargo.toml Loading commit data...
LICENSE Loading commit data...
LICENSE_TEMPLATE Loading commit data...
README.md Loading commit data...