Temirkhan Myrzamadi
17d14d2d53
Yet another dirty hack to please rustfmt
2021-04-05 21:19:29 +06:00
Temirkhan Myrzamadi
bc9972bdf2
Move the features section to lib.rs
2021-04-05 19:48:56 +06:00
Waffle Lapkin
2155e2b975
Merge pull request #363 from teloxide/must-use-storage
...
Mark all the functions of `Storage` as `#[must_use]`
2021-04-03 11:31:18 +03:00
Temirkhan Myrzamadi
bf8d2fa51b
Paraphrase #[must_use]
2021-04-03 14:21:06 +06:00
Temirkhan Myrzamadi
44956a4f85
Add descriptions of #[must_use] in Storage
2021-04-03 13:28:26 +06:00
Temirkhan Myrzamadi
617c861d26
Mark all the functions of Storage as #[must_use]
2021-04-03 06:53:02 +06:00
Waffle Lapkin
dfcf3d9d11
Merge pull request #362 from ukewea/patch-1
...
Fix a typo in the Cargo.toml example in README
2021-04-02 16:47:14 +03:00
ukewea
0c7c9232a5
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.
2021-04-02 20:13:13 +08:00
Waffle Lapkin
cba87f2630
Merge pull request #360 from teloxide/specify-auto-send-readme
...
Specify the 'auto-send' feature in README.md
2021-03-29 17:38:44 +03:00
Hirrolot
3e2548cd1d
Specify the 'auto-send' feature in README.md
2021-03-29 20:10:52 +06:00
Waffle Lapkin
b150af772a
Merge pull request #356 from teloxide/fix-storage-persistency
...
Fix the storage persistency bug
2021-03-29 09:33:56 +03:00
Temirkhan Myrzamadi
fff0b670fb
Fix RedisStorage::update_dialogue
2021-03-29 12:20:17 +06:00
Hirrolot
ca60e52f43
Update src/dispatching/dialogue/storage/redis_storage.rs
...
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2021-03-28 22:18:47 -07:00
Hirrolot
701dcbcb68
Amalgamate 'Fixed' sections in CHANGELOG.md
2021-03-28 16:39:11 +06:00
Hirrolot
75a36feca5
Merge branch 'dev' into fix-storage-persistency
2021-03-28 03:36:03 -07:00
Temirkhan Myrzamadi
68135d004f
ToOwned<Owned = D> -> D: Clone
2021-03-28 16:30:12 +06:00
Waffle Lapkin
3ba26abc41
Merge pull request #357 from teloxide/automatically-delete-webhook
...
Automatically delete a webhook if it was set up
2021-03-28 11:43:43 +03:00
Waffle Lapkin
b1cb87270d
Merge pull request #358 from teloxide/log-code-style
...
Enforce writing log::<op>!(...) in CODE_STYLE.md
2021-03-28 11:42:01 +03:00
Hirrolot
5affdf1759
Enforce writing log::<op>!(...) in CODE_STYLE.md
2021-03-28 09:00:36 +06:00
Temirkhan Myrzamadi
b7e2f14307
Automatically delete a webhook if it was set up
2021-03-28 08:51:57 +06:00
Temirkhan Myrzamadi
eac67af27a
Update CHANGELOG.md
2021-03-28 08:30:05 +06:00
Temirkhan Myrzamadi
9b75378572
Fix the tests and examples
2021-03-28 08:20:35 +06:00
Temirkhan Myrzamadi
01b7b91bda
Document how Storage failures are handled in DialogueDispatcher
2021-03-28 06:30:35 +06:00
Temirkhan Myrzamadi
abbbc41892
Fix RedisStorage, SqliteStorage
2021-03-28 06:20:13 +06:00
Temirkhan Myrzamadi
bf1ed601ac
Fix the storage persistency bug
2021-03-28 05:34:25 +06:00
Waffle Lapkin
afa9c8f8f5
Merge pull request #355 from teloxide/fix-readme-tokio
...
Fix the usage of Tokio in deps (README.md)
2021-03-27 22:29:39 +03:00
Hirrolot
b4eea72203
Fix the usage of Tokio in deps (README.md)
2021-03-28 00:02:19 +06:00
Waffle Lapkin
c438c38d50
Merge pull request #354 from diegopy/dev
...
Remove reqwest dependency
2021-03-27 09:05:04 +03:00
Diego Roig
10a7dfb721
remove reqwest dependency
2021-03-26 18:33:36 -05:00
Diego Roig
6724f265e3
remove reqwest dependency
2021-03-26 17:34:39 -05:00
Hirrolot
f8192a24a7
Merge pull request #335 from teloxide/change-tg-vimhelpbot-url
...
Provide new url for tg-vimhelpbot
2021-03-26 13:49:47 -07:00
Waffle Lapkin
aeedae540b
Merge pull request #353 from teloxide/enhance-readme
...
Enhance README.md
2021-03-26 23:36:48 +03:00
Maximilian Siling
94a2151775
Merge branch 'dev' into change-tg-vimhelpbot-url
2021-03-26 23:36:09 +03:00
Hirrolot
0322a19a48
Enhance README.md
2021-03-27 02:29:40 +06:00
Hirrolot
6885e4ab3a
Merge pull request #352 from teloxide/updating-guide-v0.4.0
...
Embed an updating guide to v0.4.0 (README.md)
2021-03-26 10:35:23 -07:00
Hirrolot
ffdc7043c4
Update README.md
2021-03-26 10:29:17 -07:00
Hirrolot
31eda80da0
Update README.md
2021-03-26 10:22:19 -07:00
Hirrolot
13e4bdb4e7
Apply review suggestions
2021-03-24 04:20:28 +06:00
Waffle Lapkin
ceeb471294
Merge pull request #330 from teloxide/clarify-storage-purpose
...
Clarify the purpose of Storage in the docs
2021-03-22 11:13:29 +03:00
Hirrolot
dc0c7f6493
Merge pull request #340 from slondr/dev
...
add BeerHolderBot to community bot list
2021-03-22 07:44:05 +06:00
Waffle Lapkin
c72bba682c
Resolve fixme ( #350 )
...
* Update redis
* Resolve fixme(waffle) related to building docs
* Fix broken links
* Reexport teloxide_core::prelude as `no_inline`
2021-03-21 21:00:58 -04:00
Hirrolot
934ee94a5e
Get ready for v0.4.0 ( #347 )
...
* Get ready for v0.4.0
* Export teloxide_macros as macros in lib.rs
* Use tokio v1.3 in README.md
* Return the feature 'macros' back
* Export teloxide_macros::teloxide in the prelude
* Document the 'macros' feature in README.md
* Update src/lib.rs
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
* Update src/prelude.rs
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
* Propagate features from teloxide-core
* teloxide-core = 0.2.1
* Fix CI
* Require teloxide-core/auto_send instead of teloxide/auto-send
* default-features = false (teloxide-core)
* Specify each teloxide-core feature separately
* Fix Cargo.toml
* JSON -> Json, CBOR -> Cbor
* Update Cargo.toml
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2021-03-21 21:00:58 -04:00
Hirrolot
5657a32165
Update src/prelude.rs
...
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2021-03-21 21:00:58 -04:00
Temirkhan Myrzamadi
09cca0faff
Use Box<dyn Error + Send + Sync> in the examples
2021-03-21 21:00:58 -04:00
Temirkhan Myrzamadi
d625b69938
Fix examples/dialogue_bot
2021-03-21 21:00:58 -04:00
Temirkhan Myrzamadi
8178191d5a
Fix examples/redis_remember_bot
2021-03-21 21:00:58 -04:00
Temirkhan Myrzamadi
07eb4c1148
Support UpdateKind::{MyChatMember, ChatMember}
2021-03-21 21:00:58 -04:00
Hirrolot
31a739f5b4
Update src/lib.rs
...
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2021-03-21 21:00:58 -04:00
Temirkhan Myrzamadi
1453bc2565
Remove examples/sqlite_remember_bot/db.sqlite-journal
2021-03-21 21:00:58 -04:00
Temirkhan Myrzamadi
df63014269
Fix the doc tests
2021-03-21 21:00:58 -04:00