Skip to content

Remove Anyhow usage to make the crate's error handling no_std compatible #343

@CPerezz

Description

@CPerezz

Managing error handling in no_std crates that rely on dusk-plonk it's quite tough since all of the errors use anyhow::Result and anyhow::Error. This is a problem since anyhow always gets inclued and it's no_std version forces to include allocators which might not be desired.

The idea is to create new types for the plonk errors that are no-std compatible and that impl display and other std-related stuff under a std flag.

Metadata

Metadata

Assignees

Labels

status:minorLow priority improvementsteam:CoreLow Level Core Development Team (Rust)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions