Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add no_std feature and update dependencies #8

Merged
merged 4 commits into from
Sep 2, 2024
Merged

feat: add no_std feature and update dependencies #8

merged 4 commits into from
Sep 2, 2024

Commits on Sep 1, 2024

  1. Add no_std support and update dependencies

    Introduces `no_std` compatibility to the library and includes necessary updates to dependencies in `Cargo.toml`. This change enables the crate to be used in environments without the standard library, expanding its applicability.
    shuhuiluo committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    62b5e36 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Remove "transports" feature from alloy dependency

    The "transports" feature in the alloy dependency is unnecessary and has been removed. This change helps streamline the dependencies and potentially reduces the binary size. All current functionality remains intact without this feature.
    shuhuiluo committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    1384dcc View commit details
    Browse the repository at this point in the history
  2. Simplify BLOCK_NUMBER usage

    Refactor code to remove unnecessary dereferencing of BLOCK_NUMBER across multiple modules. This enhances readability and adheres to Rust best practices by directly passing the constant reference.
    shuhuiluo committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    69800f9 View commit details
    Browse the repository at this point in the history
  3. Add note on no_std support in README

    This update explains that the library, by default, does not depend on the standard library. It also mentions that the `std` feature can be enabled using the `std` feature flag.
    shuhuiluo committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    5a42227 View commit details
    Browse the repository at this point in the history