Commit graph

2896 commits

Author SHA1 Message Date
Maybe Waffle
a4ecaa03af Do not ignore tests in dispatching
When test is ignored rustdoc shows a warning sign which is disturbing.


Former-commit-id: 627b8624f3
2022-07-21 13:32:05 +04:00
Maybe Waffle
11231655c2 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.


Former-commit-id: dd4af30727
2022-07-21 13:32:05 +04:00
Hirrolot
378acfc17a Put community bots with old teloxide into a hidden section
Former-commit-id: 92abc22613
2022-07-21 14:51:22 +06:00
Hirrolot
b6c6e3e1ee Add zamazan4ik/npaperbot-telegram to community bots
Former-commit-id: ca85dfff16
2022-07-21 14:28:26 +06:00
Hirrolot
31cfca1615 Update the API coverage badge
Former-commit-id: 7e6c04643f
2022-07-20 20:13:44 +06:00
Hirrolot
e212765847 Drop community bots using old versions of teloxide
Also, prettify the list representation a little bit.

Former-commit-id: d2cb46382c
2022-07-20 20:11:55 +06:00
Hirrolot
ac3a42ff0a Link Dispatcher from the docs of REPLs
Former-commit-id: 4fb8a120ea
2022-07-20 19:40:32 +06:00
Hirrolot
d919c99b69 Improve the dispatching explanation (docs)
Former-commit-id: 9ab3b3a1c5
2022-07-20 17:44:39 +06:00
Hirrolot
fb5b64bff9 Update teloxide-macros to v0.6.3
Former-commit-id: 3d9f4ef2b0
2022-07-19 22:02:44 +06:00
Hirrolot
ad87f6e63c Test teloxide-macros with a parse_with bug fix
Former-commit-id: 78afa99b79
2022-07-19 21:47:09 +06:00
Hirrolot
f2cf85d9ce Leave teloxide-core and dptree as GitHub deps (dev)
Former-commit-id: d6d819afb8
2022-07-19 20:16:08 +06:00
Waffle Maybe
6c0e7f814f use different quotes?...
Former-commit-id: d9a7c265f9
2022-07-19 18:12:45 +04:00
Waffle Maybe
a27799e098 attempt to fix ci
Former-commit-id: 9f1d0d7dd8
2022-07-19 18:01:25 +04:00
Hirrolot
6c7f17b070 Retain consistency in CHANGELOG.md
Former-commit-id: 82c7923dea
2022-07-19 19:43:02 +06:00
Hirrolot
db5747eb4e Ignore one doc example
Former-commit-id: b48f87573a
2022-07-19 19:39:25 +06:00
Hirrolot
411c851a2f Update the dispatching example explanation
Former-commit-id: bc8b86181f
2022-07-19 19:34:35 +06:00
Hirrolot
4262175be2 Remove commented dependencies in Cargo.toml
Former-commit-id: ce40f04ebd
2022-07-19 19:34:14 +06:00
Maybe Waffle
1b2b1ee30c update faq
Former-commit-id: 4af32d21eb
2022-07-19 14:54:01 +04:00
Maybe Waffle
a7eff7192b bump version
Former-commit-id: 6996c7ff87
2022-07-19 14:53:42 +04:00
Maybe Waffle
cc74e7517d Update deps
Former-commit-id: ed88e43afa
2022-07-19 14:30:18 +04:00
Maybe Waffle
f6e7c01a45 Update dptree
Former-commit-id: eb8b384f46
2022-07-18 15:56:45 +04:00
Maybe Waffle
123c550c6c Add a test for discussion_648
Former-commit-id: 56f8ef90ec
2022-07-18 15:56:25 +04:00
Hirrolot
1bf1410337 Merge pull request #675 from raine/dev
Add tgreddit to Community Bots

Former-commit-id: aa43175c46
2022-07-08 02:16:21 +06:00
Raine Virta
651526f2c0 Add tgreddit to Community Bots
Former-commit-id: 9fc68dc73f
2022-07-07 22:05:31 +02:00
Waffle Maybe
e590736585 Merge pull request #662 from teloxide/polling_builder
Add `PollingBuilder` & friends

Former-commit-id: 3d4d506203
2022-07-05 00:20:54 +04:00
Maybe Waffle
8cecf248b2 Make fields of PollingBuilder public
Former-commit-id: cd63dbf1e7
2022-07-05 00:07:15 +04:00
Maybe Waffle
1ff0440762 Mark Polling and PollingBuilder as must_use
Former-commit-id: 430df0cefb
2022-07-05 00:05:29 +04:00
Maybe Waffle
f0608da9c3 When creating Polling assert that it's an UpdateListener
Former-commit-id: 08da55f54f
2022-07-05 00:05:29 +04:00
Maybe Waffle
4e5e7a145d Fix docs
Former-commit-id: ee52bb28b4
2022-07-05 00:05:29 +04:00
Maybe Waffle
cce0710c8c Move polling_builder => Polling::builder
Former-commit-id: 79f6cf4ee9
2022-07-05 00:05:27 +04:00
Maybe Waffle
79e393c445 Correct deprecated since version
Former-commit-id: 195d34ba0c
2022-07-05 00:04:47 +04:00
Maybe Waffle
a07af45ec7 Update changelog
Former-commit-id: 4f2e723d56
2022-07-05 00:04:43 +04:00
Maybe Waffle
09d189f689 Panic for limit=0
Former-commit-id: b29d60657f
2022-07-05 00:04:26 +04:00
Maybe Waffle
f9da86f881 Add option to drop pending updates w/ polling
Former-commit-id: 612f47d242
2022-07-05 00:04:26 +04:00
Maybe Waffle
60fc833108 Remove useless use
Former-commit-id: 58bbf8e737
2022-07-05 00:04:26 +04:00
Maybe Waffle
060886737f Deprecate polling(), expose Polling{,Builder} and fix docs
Former-commit-id: e0e5da30ba
2022-07-05 00:04:26 +04:00
Maybe Waffle
e51c4c774c Return named Polling<_> type from polling* functions
This replaces the `impl UpdateListener<R::Err>` and makes using polling
nicer.


Former-commit-id: db417caa52
2022-07-05 00:04:26 +04:00
Maybe Waffle
2ceccdf442 Implement polling stream by hand
IMO it's actually clearer & nicer than the old impl. +The types are now
nameable.


Former-commit-id: 82fc756aab
2022-07-05 00:04:26 +04:00
Maybe Waffle
a839b47106 Add polling builder
Former-commit-id: 6729c965fa
2022-07-05 00:04:26 +04:00
Waffle Maybe
7046b0d8fb Merge pull request #671 from teloxide/webhooks_secret_token
Add support for `secret_token` for built-in webhooks

Former-commit-id: c4c3acf742
2022-07-05 00:03:13 +04:00
Maybe Waffle
9061d8e347 Remove useless comments
Former-commit-id: b849067378
2022-07-04 23:58:46 +04:00
Maybe Waffle
c87b6d4f41 Mark webhooks::Options as #[must_use]
Former-commit-id: db59b47674
2022-07-04 23:52:59 +04:00
Hirrolot
6fcec547f1 Merge pull request #669 from teloxide/use-default-enum-variant
Use `#[default]` for `State::Start` in dialogues

Former-commit-id: 9290665d04
2022-07-04 21:59:34 +06:00
Hirrolot
6331fe50cb Use #[default] for State::Start in dialogues
Former-commit-id: 14e9fd2197
2022-07-04 21:47:57 +06:00
Waffle Maybe
cb873cbc3e Merge pull request #673 from teloxide/actually-dont-build-examples-with-msrv-on-ci
**Actually** don't build examples with MSRV on CI

Former-commit-id: 68f9ccfcb1
2022-07-04 19:42:49 +04:00
Waffle Maybe
088d5f9912 **Actually** don't build examples with MSRV on CI
:|

Former-commit-id: 7a8e1e0e3d
2022-07-04 19:34:11 +04:00
Maybe Waffle
f46358878b Clippy :|
Former-commit-id: e8ce86df8b
2022-07-03 22:49:15 +04:00
Maybe Waffle
4be7e5a812 Update changelog
Former-commit-id: 88ddf7f7a2
2022-07-03 22:49:15 +04:00
Maybe Waffle
35b800073b Document webhook* features
Former-commit-id: 1458e40b45
2022-07-03 22:49:15 +04:00
Maybe Waffle
aa31cd4caf Reorder features in features.md
Former-commit-id: dc9dc8cd13
2022-07-03 22:49:15 +04:00