Skip to content

Add reqwest:blocking feature #1

Description

@bennyhodl

Festivus uses the mempool.space api for getting the recommended fees. This in turn makes the calculate_fee() function async because of reqwests default features. This could be an issue for some crate consumers.

Task

Create a feature for festivus that allows the library user to use the library synchronously.

Requirements

1 .When a user adds the crate to their project they should be able to flag "blocking" as a feature.

festivus = { git = "https://github.com/BlockSpaces/festivus", features = ["blocking"] }
  1. Test cases for both async and sync code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions