penumbra-zone / decaf377

decaf377 is a prime-order group designed for use in SNARKs over BLS12-377
https://protocol.penumbra.zone/main/crypto/decaf377.html
12 stars 12 forks source link

adjust anyhow scope and remove unused dependencies #96

Closed neithanmo closed 4 months ago

neithanmo commented 4 months ago

This PR introduces some adjustments to the Cargo.toml configuration to better align with the crate's compatibility and usage requirements, particularly focusing on the removal of the tracing dependency and the relocation of anyhow to dev-dependencies. These changes are motivated by the need to ensure compatibility with the thumbv6m-none-eabi target, which does not support atomic operations required by tracing and std/alloc.

With these changes, we can compile this crate for the thumbv6m-non-eabi target, by enabling the u32_backend and disabling std and alloc features.