rusty_pool icon indicating copy to clipboard operation
rusty_pool copied to clipboard

Make `futures-channel` and `futures-exectuor` optional

Open dpc opened this issue 4 years ago • 1 comments

dpc avatar Nov 24 '21 08:11 dpc

Those dependencies are required by the evaluate functions and JoinHandle, which I consider a core feature. The dependencies are only not required if the async feature is enabled, because then futures could be used directly instead. However, having optional dependencies based on a feature NOT being enabled is not possible afaik: https://github.com/rust-lang/cargo/issues/1839

robinfriedli avatar May 05 '22 15:05 robinfriedli