chatmail / chatmail/async-imap
basic.rs failing to compile without async-std
Open
- Dominant language
- Rust
- Stars
- 147
- Forks
- 42
- Avg merge
- 8d 15h
- Merged PRs (30d)
- 1
Description
Without the async-smtp dependency the compilation of the example/basic.rs failed with:
```
let messages: Vec<_> = messages_stream.collect::>().await?;
| ^^^^^^^ method cannot be called on `impl async_std::stream::Stream+std::marker::Send` due to unsatisfied trait bounds
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with example/basic.rs and reproduce the compilation failure when the async-smtp dependency is absent. Trace the messages_stream collect call and its trait bounds; done means the example compiles without async-smtp.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100