Crates.io | concordium_base |
lib.rs | concordium_base |
version | 6.0.0 |
source | src |
created_at | 2023-03-20 14:53:35.988083 |
updated_at | 2024-09-09 09:38:02.421262 |
description | A library that defines common types and functionality that are needed by Concordium Rust projects. |
homepage | https://github.com/Concordium/concordium-base |
repository | https://github.com/Concordium/concordium-base |
max_upload_size | |
id | 815338 |
size | 1,490,357 |
A library that defines common types and functionality that are needed by Concordium Rust projects. The scope of this library is limited to core definitions that are needed by most users.
Its functionality is meant to be re-exported by higher-level libraries, such as
the concordium-rust-sdk
.
The library covers the following areas
The library has no default features and the following optional ones:
encryption
- additionally exposes the common::encryption
module for
handling the encryption format used by various Concordium tools (such as
wallet exports). This feature is covered by semver guidelines.ffi
- enabling this feature adds a number of foreign exports to the library.
These are not guaranteed to be stable and are only used when integrating the
library into the node.internal-test-helpers
- enabling this feature exposes some library internals
that are needed in benchmarks. Functionality exposed by this feature has no
stability guarantees.This library should always be possible to compile for android/ARM, iOS, Wasm, and x86 code. Some parts may be feature gated to work around platform specific limitations though.
The minimum supported Rust version is stated in the Cargo.toml
manifest.
Changes in this minimal supported version are going to be accompanied by at
least a minor version increase.