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"] }
- Test cases for both async and sync code
Festivus uses the
mempool.spaceapi for getting the recommended fees. This in turn makes thecalculate_fee()function async because ofreqwestsdefault features. This could be an issue for some crate consumers.Task
Create a feature for
festivusthat 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.