I tried to use imap client and found some samples using imap crate.
The one in github doesnt compile because ClientBuilder is not found in imap.
The one I found on this forum does neither compile, because imap::client is private module.
Any idea how to resolve?
Any working example of imap client?
Note that if you are using imap = "2.4.1", you also should use examples from v2.4.1 tag. Your mention of ClientBuilder suggests you are using examples from master branch, which of course doesn't work since ClientBuilder is new in v3.
If you want to use an alpha version you'll have to write the exact version in your Cargo.toml, and on docs.rs use the menu at the top to see the doc for the alpha version.