Crates.io | thiserror-core |
lib.rs | thiserror-core |
version | 1.0.50 |
source | src |
created_at | 2022-12-10 17:28:29.09528 |
updated_at | 2023-11-19 14:07:46.926145 |
description | derive(Error) |
homepage | |
repository | https://github.com/FlorianUekermann/thiserror/tree/1.0.50 |
max_upload_size | |
id | 733940 |
size | 74,626 |
This is a fork of thiserror using the nightly only, experimental error_in_core feature in no_std environments.
// Cargo.toml
[dependencies]
thiserror = { version = "1.0", package = "thiserror-core", default-features = false }
Compiler support: requires rustc 1.56+ @@ -23,200 +18,16 @@ thiserror = "1.0"
// main.rs / lib.rs
#![no_std]
#![feature(error_in_core)]
Differences are kept to a minimum and changes in thiserror master will be adopted by rebasing thiserror-core.
With the default std
feature enabled, any functional difference between thiserror and thiserror-core is considered a bug.
As soon as equivalent changes are adopted, this crate will be updated to re-export thiserror.