Crates.io | ruspiro-error |
lib.rs | ruspiro-error |
version | 0.1.1 |
source | src |
created_at | 2020-09-26 13:59:51.903932 |
updated_at | 2021-04-21 16:36:04.904338 |
description | Definition of the Error trait and error handling related types to make error handling more convinient. This is some kind of the duplicate of the rust ``std::error::*`` stuff which does not work in ``#![no_std]`` environments. However, it is assumed that if this crate is used as a dependencie there will be an allocator provided when building the final binary. |
homepage | |
repository | https://github.com/RusPiRo/ruspiro-error/tree/v0.1.1 |
max_upload_size | |
id | 293158 |
size | 31,742 |
Providing the Error
trait like std::error::Error
for ![no_std]
embedded environments that come at least with an allocator implementation.
To use the crate just add the following dependency to your Cargo.toml
file:
[dependencies]
ruspiro-error = "0.1.1"
When using this crate to build a final binary the crate graph need to contain an allocator implementation. The one used within the RusPiRo family of crates is ruspiro-allocator
Licensed under Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) or MIT (LICENSE-MIT or http://opensource.org/licenses/MIT)) at your choice.