Commit graph

2896 commits

Author SHA1 Message Date
Maybe Waffle
627b8624f3 Do not ignore tests in dispatching
When test is ignored rustdoc shows a warning sign which is disturbing.
2022-07-21 13:32:05 +04:00
Maybe Waffle
dd4af30727 Move ctrlc handler enable function to DispatcherBuilder
This helps with consistency -- every setting is changed in builder.
Also `Self -> Self` function sometimes plays more nicely with borrowck.
2022-07-21 13:32:05 +04:00
Hirrolot
92abc22613
Put community bots with old teloxide into a hidden section 2022-07-21 14:51:22 +06:00
Hirrolot
ca85dfff16
Add zamazan4ik/npaperbot-telegram to community bots 2022-07-21 14:28:26 +06:00
Hirrolot
7e6c04643f
Update the API coverage badge 2022-07-20 20:13:44 +06:00
Hirrolot
d2cb46382c
Drop community bots using old versions of teloxide
Also, prettify the list representation a little bit.
2022-07-20 20:11:55 +06:00
Hirrolot
4fb8a120ea Link Dispatcher from the docs of REPLs 2022-07-20 19:40:32 +06:00
Hirrolot
9ab3b3a1c5 Improve the dispatching explanation (docs) 2022-07-20 17:44:39 +06:00
Hirrolot
3d9f4ef2b0 Update teloxide-macros to v0.6.3 2022-07-19 22:02:44 +06:00
Hirrolot
78afa99b79 Test teloxide-macros with a parse_with bug fix 2022-07-19 21:47:09 +06:00
Hirrolot
d6d819afb8 Leave teloxide-core and dptree as GitHub deps (dev) 2022-07-19 20:16:08 +06:00
Waffle Maybe
d9a7c265f9
use different quotes?... 2022-07-19 18:12:45 +04:00
Waffle Maybe
9f1d0d7dd8
attempt to fix ci 2022-07-19 18:01:25 +04:00
Hirrolot
82c7923dea Retain consistency in CHANGELOG.md 2022-07-19 19:43:02 +06:00
Hirrolot
b48f87573a Ignore one doc example 2022-07-19 19:39:25 +06:00
Hirrolot
bc8b86181f Update the dispatching example explanation 2022-07-19 19:34:35 +06:00
Hirrolot
ce40f04ebd Remove commented dependencies in Cargo.toml 2022-07-19 19:34:14 +06:00
Maybe Waffle
4af32d21eb update faq 2022-07-19 14:54:01 +04:00
Maybe Waffle
6996c7ff87 bump version 2022-07-19 14:53:42 +04:00
Maybe Waffle
ed88e43afa Update deps 2022-07-19 14:30:18 +04:00
Maybe Waffle
eb8b384f46 Update dptree 2022-07-18 15:56:45 +04:00
Maybe Waffle
56f8ef90ec Add a test for discussion_648 2022-07-18 15:56:25 +04:00
Hirrolot
aa43175c46
Merge pull request #675 from raine/dev
Add tgreddit to Community Bots
2022-07-08 02:16:21 +06:00
Raine Virta
9fc68dc73f Add tgreddit to Community Bots 2022-07-07 22:05:31 +02:00
Waffle Maybe
3d4d506203
Merge pull request #662 from teloxide/polling_builder
Add `PollingBuilder` & friends
2022-07-05 00:20:54 +04:00
Maybe Waffle
cd63dbf1e7 Make fields of PollingBuilder public 2022-07-05 00:07:15 +04:00
Maybe Waffle
430df0cefb Mark Polling and PollingBuilder as must_use 2022-07-05 00:05:29 +04:00
Maybe Waffle
08da55f54f When creating Polling assert that it's an UpdateListener 2022-07-05 00:05:29 +04:00
Maybe Waffle
ee52bb28b4 Fix docs 2022-07-05 00:05:29 +04:00
Maybe Waffle
79f6cf4ee9 Move polling_builder => Polling::builder 2022-07-05 00:05:27 +04:00
Maybe Waffle
195d34ba0c Correct deprecated since version 2022-07-05 00:04:47 +04:00
Maybe Waffle
4f2e723d56 Update changelog 2022-07-05 00:04:43 +04:00
Maybe Waffle
b29d60657f Panic for limit=0 2022-07-05 00:04:26 +04:00
Maybe Waffle
612f47d242 Add option to drop pending updates w/ polling 2022-07-05 00:04:26 +04:00
Maybe Waffle
58bbf8e737 Remove useless use 2022-07-05 00:04:26 +04:00
Maybe Waffle
e0e5da30ba Deprecate polling(), expose Polling{,Builder} and fix docs 2022-07-05 00:04:26 +04:00
Maybe Waffle
db417caa52 Return named Polling<_> type from polling* functions
This replaces the `impl UpdateListener<R::Err>` and makes using polling
nicer.
2022-07-05 00:04:26 +04:00
Maybe Waffle
82fc756aab Implement polling stream by hand
IMO it's actually clearer & nicer than the old impl. +The types are now
nameable.
2022-07-05 00:04:26 +04:00
Maybe Waffle
6729c965fa Add polling builder 2022-07-05 00:04:26 +04:00
Waffle Maybe
c4c3acf742
Merge pull request #671 from teloxide/webhooks_secret_token
Add support for `secret_token` for built-in webhooks
2022-07-05 00:03:13 +04:00
Maybe Waffle
b849067378 Remove useless comments 2022-07-04 23:58:46 +04:00
Maybe Waffle
db59b47674 Mark webhooks::Options as #[must_use] 2022-07-04 23:52:59 +04:00
Hirrolot
9290665d04
Merge pull request #669 from teloxide/use-default-enum-variant
Use `#[default]` for `State::Start` in dialogues
2022-07-04 21:59:34 +06:00
Hirrolot
14e9fd2197 Use #[default] for State::Start in dialogues 2022-07-04 21:47:57 +06:00
Waffle Maybe
68f9ccfcb1
Merge pull request #673 from teloxide/actually-dont-build-examples-with-msrv-on-ci
**Actually** don't build examples with MSRV on CI
2022-07-04 19:42:49 +04:00
Waffle Maybe
7a8e1e0e3d
**Actually** don't build examples with MSRV on CI
:|
2022-07-04 19:34:11 +04:00
Maybe Waffle
e8ce86df8b Clippy :| 2022-07-03 22:49:15 +04:00
Maybe Waffle
88ddf7f7a2 Update changelog 2022-07-03 22:49:15 +04:00
Maybe Waffle
1458e40b45 Document webhook* features 2022-07-03 22:49:15 +04:00
Maybe Waffle
dc9dc8cd13 Reorder features in features.md 2022-07-03 22:49:15 +04:00