mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Fix a typo in the Cargo.toml example in README
The current example will cause warnings while compiling: warning: dependency (teloxide) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions warning: unused manifest key: dependencies.teloxide.verison By fixing the typo we can get rid of them.
This commit is contained in:
parent
cba87f2630
commit
0c7c9232a5
1 changed files with 1 additions and 1 deletions
|
@ -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 = { verison = "0.4", features = ["auto-send"] }
|
||||
teloxide = { version = "0.4", features = ["auto-send"] }
|
||||
log = "0.4.8"
|
||||
pretty_env_logger = "0.4.0"
|
||||
tokio = { version = "1.3", features = ["rt-multi-thread", "macros"] }
|
||||
|
|
Loading…
Add table
Reference in a new issue