#instructions #calculations #logical #arithmetic #reusing #serialiser #serialising

instruction_serialiser

This package helps developers serialising calculation instructions for reusing or archiving them

6 releases

0.0.6 Mar 21, 2022
0.0.5 Mar 19, 2022
0.0.4 Feb 21, 2022

#3 in #reusing

Apache-2.0

53KB
1K SLoC

Instruction Serialiser Rust

This is the Rust implementation of the instruction serialiser.

Using the library

Install the library as described on its page on crates.io.

Extending the library

This implementation uses Rust's build script to automatically compile the current definitions when the library is compiled.

The implementation of the program logic can be found in the src directory. The lib.rs file exposes the functionality.

Tests can be found right inside the files which also contain the program logic. If you want to write your own tests please put them there.

Publishing new versions

All files required for building need to reside inside the working directory. References to external files like the proto definitions residing in the parent directory cause the resulting package to be invalid. Therefore, a script temporarily importing external dependencies to the working directory, updating relative paths and performing the publish operation is provided. It accepts all commandline arguments cargo publish accepts as well.

Dependencies

~1.8–4MB
~74K SLoC