Lonami
Lonami
Yes, that example is broken, I removed the async iterator methods for the time being but forgot to remove that.
Let's move to https://t.me/gramme_rs, this usage talk is getting too much for GitHub issues.
In particular, the sender should make sure that all the buffers are reused and cleared correctly, what happens when two messages arrive at once or only one and partial, etc....
The CI should also test with all features enabled.
It is definitely plausible to host a separate guide under https://gramme.rs, or even use [this project's wiki](https://github.com/Lonami/grammers/wiki) (which we can link as a guide from the main site or the...
There are already some under [`grammers-client/examples`](https://github.com/Lonami/grammers/tree/master/lib/grammers-client/examples). For the rest of libraries, examples within the documentation comments are probably enough, because they provide small building blocks. On contrary, the client is...
Good posts to keep in mind: * [docs.rs now allows you to choose your build targets](https://blog.rust-lang.org/2020/03/15/docs-rs-opt-into-fewer-targets.html) * [Guide on how to write documentation for a Rust crate](https://blog.guillaume-gomez.fr/articles/2020-03-12+Guide+on+how+to+write+documentation+for+a+Rust+crate)
See also: `html_favicon_url` and `html_logo_url`, as explained in [What is rustdoc?](https://doc.rust-lang.org/rustdoc/what-is-rustdoc.html).
More on this: we probably want to run [`cargo-spellcheck`](https://github.com/drahnr/cargo-spellcheck/blob/master/README.md) to avoid typos.
See also: https://core.telegram.org/mtproto/description#important-checks