chatmail / chatmail/async-smtp

gmail example gives credentials error method not found in `impl std::future::Future`

Open
#47 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
74
Forks
16
PR merge metrics
No merged PRs in 30d

Description

I am using the example on github here for gmail.
I get the error:
```

credentials(creds)
^^^^^^^^^^^ method not found in `impl std::future::Future`

```
I am new to rust sorry.
I tried `#[async_std::main]` but it says i should use it only on main.
What could i do?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.