Crates.io | tari_utilities |
lib.rs | tari_utilities |
version | 0.8.0 |
source | src |
created_at | 2019-03-29 13:16:32.417506 |
updated_at | 2024-10-10 11:46:56.170894 |
description | A set of useful and commonly used utilities that are used in several places in the Tari project. |
homepage | https://tari.com |
repository | https://github.com/tari-project/tari |
max_upload_size | |
id | 124542 |
size | 106,861 |
This crate is part of the Tari Cryptocurrency project.
A set of useful and commonly used utilities that are used in several places in the Tari project.
Functions for conversion between integer and bit array.
A trait that offers representation of data types as a byte array or hex string. See also extend_bytes and message_format.
Function which tries to convert a series of T
s to U
s.
A trait that handles base58 encoding and decoding.
Data structure representing time as a u64
.
A trait allows us to call append_raw_bytes and get the raw bytes of the type.
Data structure describing a fixed set of size n.
A simple Hashable
trait which is used to describe how an object should be hashed.
Functions for conversion between binary and hex string.
Macros for RwLock.
A MessageFormat
trait that handles conversion from and to binary, json, or base64.
A wrapper type for concealing sensitive information in logs.
Some of the utilities can be removed with feature flags:
This will allow epoch_time, encoding and safe_array
This will include zeroize support
This will include support for serde
This will include support for borsh
This will include all feature flags.