Expand description

Description

il2_utils is a Rust utility library designed to provide utility functionalities to the InterlockLedger Rust codebase.

It also provides some of the platform specific code required to access some of the target OS functionalities when required.

Visit creates.io for further information about this library.

License

This library is licensed under a 3-Clause BSD license.

Modules

This module implements a very simple associative cache that stores read-only entries associated to a key.

This module contains utilities to handle files.

This module implement functions that can be used to control the page locking in memory. This is useful to prevent critical values from being written into the the disk by the virtual memory system.

This module implements a simple data serializer/deserialzer that can be used to read/write data serializations in memory. Most of the functions here where designed to use pre-allocated memory segments and/or vectors in place. As such, this module is not recommended for complex serializations or large values.

This module contains utilities to handle timestamps and other time related functions.

This module implements utilities to handle std::vec::Vec. Most of those utilities are optimized for fast memory manipulations whenever possible.