adjust anyhow scope and remove unused dependencies #96
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 thetracing
dependency and the relocation ofanyhow
to dev-dependencies. These changes are motivated by the need to ensure compatibility with thethumbv6m-none-eabi
target, which does not support atomic operations required bytracing
and std/alloc.Removed
tracing
andtracing-subscriber
Dependencies: Due to incompatibility with thethumbv6m-none-eabi
target, which lacks support for atomic operations, thetracing
andtracing-subscriber
dependencies have been removed. Besides that, the tracing dependencies are not used within the crate.Relocated
anyhow
to Dev-Dependencies: Theanyhow
crate is now moved to dev-dependencies, reflecting its usage strictly in development contexts and tests.Minor Adjustments and Cleanup: The PR also includes minor adjustments for consistency and clarity in the
Cargo.toml
file, such as formatting and the explicit inclusion ofhashbrown
under thearkworks
feature flag(can be also put behind the std or alloc features).With these changes, we can compile this crate for the
thumbv6m-non-eabi
target, by enabling theu32_backend
and disablingstd
andalloc
features.