Commit graph

2638 commits

Author SHA1 Message Date
Hirrolot
a60e19a8c2 Implement dialogue::enter 2022-04-23 00:11:27 +06:00
Hirrolot
4a4990e207 Update the FAQ 2022-04-22 23:50:19 +06:00
Hirrolot
96b8df4bdd Add examples/purchase.rs 2022-04-22 23:42:50 +06:00
Hirrolot
66b9a718d1 Implement GetChatId for Update 2022-04-22 23:42:39 +06:00
Waffle Maybe
a0d5f50d89
Merge pull request #597 from teloxide/msrv
Document and check the MSRV in CI
2022-04-21 13:01:06 +04:00
Maybe Waffle
7f40886046 fix CI 2022-04-21 12:52:01 +04:00
Maybe Waffle
cfaa71632c Document and check the MSRV in CI 2022-04-20 23:33:44 +04:00
Hirrolot
1e969d2680
Merge pull request #596 from teloxide/fix-handler-doc
Fix the `teloxide::handler!` docs
2022-04-18 22:58:21 +06:00
Hirrolot
3df389fcaa Fix the teloxide::handler! docs 2022-04-18 22:47:00 +06:00
Hirrolot
4ee174126d Merge conflicts 2022-04-18 16:50:02 +06:00
Waffle Maybe
6a4a35bb2d
Merge pull request #593 from teloxide/v0.8.0
Release v0.8.0
2022-04-18 14:42:34 +04:00
Hirrolot
e12f7a44d0
Set teloxide-core to v0.5.1
Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
2022-04-18 16:35:10 +06:00
Hirrolot
52ba62d3fc Release v0.8.0 2022-04-18 16:32:46 +06:00
Hirrolot
7186eddb75
Merge pull request #587 from teloxide/allowed_updates_dp2
implement allowed updates in dispatcher
2022-04-18 16:23:44 +06:00
Maybe Waffle
63b3be8db7 Update dptree, now to a crates.io version! 2022-04-18 14:13:39 +04:00
Waffle Maybe
5ec223f43a
Merge pull request #591 from teloxide/doc_changes
Doc changes
2022-04-17 19:52:24 +04:00
Hirrolot
6646fe5758 Add a note about deprecated DialogueState 2022-04-17 21:36:28 +06:00
Maybe Waffle
63a7b02c68 Update dptree (again) 2022-04-15 14:19:46 +04:00
Maybe Waffle
c93022028f Log allowed updates
This will be useful for debugging
2022-04-15 13:04:17 +04:00
Maybe Waffle
dbe45fb49f Update dptree
Use the new naming of things for handler descriptions :)
2022-04-15 13:04:14 +04:00
Maybe Waffle
4db52436f3 [WIP] implement allowed updates in dispatcher 2022-04-15 12:58:52 +04:00
Waffle Maybe
03521bfd3d
Merge pull request #589 from teloxide/dp_impr
improve Dispatcher
2022-04-14 19:42:22 +04:00
Maybe Waffle
5e122ab919 Add 0.7 -> 0.8 migration guide 2022-04-14 14:55:06 +04:00
Maybe Waffle
a76eb6aa0e Add 0.6->0.7 to migration guide 2022-04-14 14:40:28 +04:00
Maybe Waffle
fc509912ff Remove dev-branch docs 2022-04-14 14:35:24 +04:00
Waffle Maybe
e7b86d038b
Merge pull request #590 from mattrighetti/patch-2
Add Libgen bot to examples in README
2022-04-14 04:17:48 +04:00
Mattia Righetti
2bcc229e8f
Add Libegen bot to examples in README 2022-04-13 14:46:48 +02:00
Maybe Waffle
f48c4f7886 Allow changing update distribution function 2022-04-13 16:42:47 +04:00
Maybe Waffle
adccdbae1c move some clones() around 2022-04-13 16:18:04 +04:00
Maybe Waffle
c9a6b77434 Make worker queue size in dp configurable 2022-04-13 16:17:06 +04:00
Waffle Maybe
050ede23fa
Merge pull request #586 from teloxide/update_core_050
Update `teloxide-core` `0.4.5` -> `0.5.0`
2022-04-13 16:06:42 +04:00
Maybe Waffle
2aa59d760a Update teloxide-core 0.4.5 -> 0.5.0 2022-04-13 15:58:29 +04:00
Hirrolot
ba5dc486ce
Merge pull request #585 from teloxide/concurrent-dispatching
Implement concurrent update dispatching
2022-04-13 17:38:50 +06:00
Hirrolot
71c647b2c9 Fix .for_each on self.workers 2022-04-13 16:18:02 +06:00
Hirrolot
b2ad297029 Fix formatting 2022-04-13 16:11:47 +06:00
Hirrolot
2e8ed1fa3c
Remove redundant Arc::clone
Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
2022-04-13 16:10:41 +06:00
Hirrolot
556068fdb1
Wait for workers concurrently
Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
2022-04-13 16:09:00 +06:00
Hirrolot
579d5a7b7c Wait for workers by .awaiting join handles 2022-04-13 14:05:46 +06:00
Hirrolot
6a83fa5604 Remove redundant async move blocks 2022-04-13 13:40:27 +06:00
Hirrolot
e4459c408d Remove the redundant Box in DefaultHandler 2022-04-13 13:38:05 +06:00
Hirrolot
c2bc945d27 Add some helpful comments 2022-04-13 12:11:02 +06:00
Hirrolot
d6521662b4 Switch worker and default worker impls 2022-04-13 12:07:32 +06:00
Hirrolot
7e34d7ea47 Implement concurrent update handling 2022-04-13 02:45:02 +06:00
Hirrolot
5e21c4d881
Merge pull request #582 from teloxide/deprecate-dispatch-by
Deprecate `HandlerFactory` and `HandlerExt::dispatch_by`
2022-04-10 22:53:37 +06:00
Waffle Maybe
6770f5fc61
Merge pull request #583 from teloxide/fix-dispatcher-graceful-shutdown
Fix dispatcher's graceful shutdown
2022-04-09 00:43:07 +04:00
Hirrolot
50c7cfe9d2 Fix dispatcher's graceful shutdown 2022-04-09 02:33:52 +06:00
Hirrolot
3b01169751
Merge pull request #581 from teloxide/dialogue-must-use
Mark `Dialogue::{new, chat_id}` as `#[must_use]`
2022-04-08 14:54:41 +06:00
Hirrolot
ffcdba0e1d Deprecate HandlerFactory and HandlerExt::dispatch_by 2022-04-08 00:18:13 +06:00
Hirrolot
f3b4769bc5 Mark Dialogue::{new, chat_id} as #[must_use] 2022-04-08 00:03:27 +06:00
Hirrolot
4530f935cb
Merge pull request #580 from teloxide/dialogue-get-chat-id
Implement `Dialogue::chat_id`
2022-04-07 18:44:45 +06:00