Commit graph

2885 commits

Author SHA1 Message Date
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
Maybe Waffle
4edd41fd58 Reformat features file 2022-07-03 22:49:15 +04:00
Maybe Waffle
8806cb9d78 Add support for secret_token in built-in webhooks 2022-07-03 22:49:15 +04:00
Maybe Waffle
c129b6a53d Update teloxide-core to master 2022-07-03 22:49:15 +04:00
Waffle Maybe
2a58244ee5
Merge pull request #672 from teloxide/improve-ci
improve ci
2022-07-03 21:52:44 +04:00
Maybe Waffle
cabc045c06 fix doctest 2022-07-03 15:21:17 +04:00
Maybe Waffle
77d1c4524d Don't build examples when testing on CI 2022-07-03 15:12:18 +04:00
Maybe Waffle
a9886d8419 Improve CI 2022-07-03 15:12:18 +04:00
Maybe Waffle
a4ad44fae9 Change recommended way to build docs 2022-07-03 15:12:18 +04:00
Maybe Waffle
0048370169 Update pinned nightly version 2022-07-03 15:12:18 +04:00
Hirrolot
3b0e3f3a0c
Merge pull request #665 from teloxide/update-shared-state-example
Use the new DI in `examples/shared_state.rs`
2022-06-29 22:38:15 +06:00
Hirrolot
69b5d8b3d5 Make a TODO in place of the dispatching doc example 2022-06-29 21:36:36 +06:00