README: enable the "macros" feature in the quickstart Cargo.toml

The "commands" example later in the README does not compile without it.
This commit is contained in:
Robin Lange 2021-05-29 16:48:00 +10:00 committed by GitHub
parent 49a0e54957
commit e3a3c1ed50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,7 @@ $ rustup override set nightly
5. Run `cargo new my_bot`, enter the directory and put these lines into your `Cargo.toml`:
```toml
[dependencies]
teloxide = { version = "0.4", features = ["auto-send"] }
teloxide = { version = "0.4", features = ["auto-send", "macros"] }
log = "0.4.8"
pretty_env_logger = "0.4.0"
tokio = { version = "1.3", features = ["rt-multi-thread", "macros"] }