AMythicDev / minus

An asynchronous, runtime data feedable terminal paging library for Rust
https://crates.io/crates/minus/
Apache License 2.0
316 stars 23 forks source link

Smol support #19

Closed tinywombat765 closed 2 years ago

tinywombat765 commented 3 years ago

I'd like to add support for the smol runtime. I'm opening this issue to make sure you wouldn't have an objection to this feature before I go the trouble of implementing it. Thanks.

AMythicDev commented 3 years ago

Thanks for opening up the issue. It wouldn't be that difficult to implement a smol runtime function. But again, it would probably be gated on some feature

Edit: Fixed typo

tinywombat765 commented 3 years ago

But again, it would probably be hated on some feature

I don't understand what you mean.

AMythicDev commented 3 years ago

To use the function, you probably have to enable a minus feature while specifying the minus dependency in your application's Cargo.toml

AMythicDev commented 3 years ago

Thanks in advance when you open up the PR

AMythicDev commented 2 years ago

minus 5.0 will be runtime agnostic. Closing this as now it's completely dependent on end applications on how they leverage minus's async_paging function