Commit graph

3990 commits

Author SHA1 Message Date
Maybe Waffle
764fa1e9d8 Update changelog
Former-commit-id: 4cb9d93d59
2022-09-04 17:01:13 +04:00
Maybe Waffle
0e79c372ac Update changelog 2022-09-04 16:15:25 +04:00
Maybe Waffle
e1b64c0c2a Mark code as refactored 2022-08-28 15:25:57 +04:00
Maybe Waffle
4c4797d85e update teloxide-macros
Former-commit-id: 44e134c47e
2022-08-28 15:19:38 +04:00
Maybe Waffle
7ad17c41ba clippy >:( 2022-08-28 15:15:07 +04:00
Maybe Waffle
c8514823d7 refactor attributes once again 2022-08-28 15:07:19 +04:00
Maybe Waffle
25f9bff97a Remove useless identity conversions 2022-08-26 20:26:21 +04:00
Maybe Waffle
5477535834 refactor imports and stuff 2022-08-25 18:38:21 +04:00
Maybe Waffle
5d39e3c06d fix error message 2022-08-25 18:06:41 +04:00
Maybe Waffle
66ee68c13b fix compiler_error! invocations 2022-08-25 17:01:13 +04:00
Maybe Waffle
f13e3b6e4a refactor generated code 2022-08-25 17:01:03 +04:00
Waffle Maybe
c6bfe682df Merge pull request #701 from teloxide/avoid-short-list-punctuation
Avoid ending punctuation in short list items

Former-commit-id: 6d668ec06b
2022-08-25 11:58:50 +04:00
Maybe Waffle
f03264e694 Iterator ftw 2022-08-23 20:37:23 +04:00
Maybe Waffle
cfe75ae844 Refactor attributes some more 2022-08-22 18:59:25 +04:00
Maybe Waffle
59b8aa21b5 fix typos & such 2022-08-22 18:22:31 +04:00
Maybe Waffle
66ad49ab7c Clean up attribute handling a bit 2022-08-22 18:18:44 +04:00
Maybe Waffle
ddacee966e Cleanup renaming
(this technically breaks `#[rename = "actual_name"]` but we wanted to
split `rename` VS `rename_rule` anyway, so this is ok)
2022-08-22 17:36:36 +04:00
Maybe Waffle
88449531a6 Mark top-level items as pub(crate)
this way we'll get better compiler diagnostics (for example it'll warn
against unused fields and such).
2022-08-22 16:00:36 +04:00
Maybe Waffle
b16256b8ea Improve error handling by adding custom Error type 2022-08-22 15:55:25 +04:00
Maybe Waffle
3580fd35c5 Don't use quote::__private 2022-08-22 15:34:30 +04:00
Maybe Waffle
af6e18149f Remove get_or_return!, use ?/Result instead 2022-08-22 15:32:57 +04:00
Maybe Waffle
845cd453d6 Remove derive(DialogueState) macro
It was already deprecated and it doesn't seem valuable to keep/refactor
it.
2022-08-22 15:21:20 +04:00
Hirrolot
0808ec34be Avoid ending punctuation in short list items
Former-commit-id: d0add19b29
2022-08-20 16:16:08 +06:00
Waffle Maybe
44d4603bd0
Merge pull request #245 from teloxide/r071
dump version
2022-08-19 09:52:03 +04:00
Maybe Waffle
3d6a5ea26f dump version 2022-08-19 06:21:06 +04:00
Waffle Maybe
c9c3c7d03b
Merge pull request #242 from teloxide/MUST_USE
Add some `#[must_use]`s
2022-08-19 06:14:39 +04:00
Waffle Maybe
90aedd10c4
Merge pull request #244 from teloxide/fix_erased
Fix `Clone` implementation for `ErasedRequester`
2022-08-19 06:14:08 +04:00
Maybe Waffle
d3eb94b695 Fix Clone implementation for ErasedRequester 2022-08-19 06:10:01 +04:00
Maybe Waffle
d30d4f36cd Remove useless parentheses 2022-08-15 20:10:16 +04:00
Waffle Maybe
e26c839d1a
Update CHANGELOG.md 2022-08-15 20:08:20 +04:00
Maybe Waffle
6f3aa993af Add #[must_use]s 2022-08-15 20:05:11 +04:00
Waffle Maybe
61d36e3ac9
Merge pull request #241 from teloxide/download_error_and_from
Implement `From<_> for RequestError` for more types
2022-08-15 11:46:56 +04:00
Maybe Waffle
06608934e8 Update changelog 2022-08-04 18:22:00 +04:00
Maybe Waffle
353d26fa00 Implement From<_> for RequestError for more types 2022-08-04 18:16:42 +04:00
Hirrolot
fe10cbce67 Merge pull request #690 from teloxide/repls-dispatching-doc
Explain the difference between REPLs and dispatching

Former-commit-id: fde52b3988
2022-07-25 18:24:36 +06:00
Waffle Maybe
2df4dfd61b Merge pull request #693 from teloxide/nicer_filter_ext_docs
Make filter ext docs a little bit nicer

Former-commit-id: acd3f4f9a2
2022-07-25 11:08:20 +04:00
Maybe Waffle
8a92959229 Make filter ext docs a little bit nicer
Former-commit-id: 62cbda51d2
2022-07-24 19:46:48 +04:00
Hirrolot
09ca45a67c Merge pull request #691 from teloxide/hide-huge-doc
Hide the definitions of endpoints in the doc

Former-commit-id: c7af38ebe3
2022-07-24 21:23:06 +06:00
Maybe Waffle
ef46649b23 Improve link formatting
Former-commit-id: 1942b8f49b
2022-07-24 19:11:57 +04:00
Hirrolot
c6ea1dd894 Merge branch 'repls-dispatching-doc' of https://github.com/teloxide/teloxide into repls-dispatching-doc
Former-commit-id: 3f546fd637
2022-07-24 19:41:30 +06:00
Hirrolot
a654491d6f Simplify the doc sentence (code review)
Former-commit-id: 0f526ebe99
2022-07-24 19:40:35 +06:00
Hirrolot
40e311d3a0 Apply a tiny doc review suggestion
Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
Former-commit-id: ab0292649f
2022-07-24 19:32:09 +06:00
Hirrolot
8ebb4826cb Expand a doc sentence according to code review
Former-commit-id: 8eaadf8f94
2022-07-24 19:30:41 +06:00
Hirrolot
cbfe068e68 Merge pull request #692 from teloxide/check-dialogue-doc
Make `dialogue` doc examples verifiable

Former-commit-id: 72a92ea6ea
2022-07-24 19:21:33 +06:00
Hirrolot
e7fb02e8fe Make dialogue doc examples verifiable
Former-commit-id: 793dbcfcdb
2022-07-24 19:14:22 +06:00
Hirrolot
b8b1cb0496 Hide the definitions of endpoints in the doc
Makes scrolling a bit easier.


Former-commit-id: 4e2265a217
2022-07-24 19:03:50 +06:00
Hirrolot
839d4705ae Fix formatting
Former-commit-id: a59fb0ddea
2022-07-24 19:01:36 +06:00
Hirrolot
7c1af1265b A doc fix for Dispatcher
Former-commit-id: 7b18d62296
2022-07-24 18:57:33 +06:00
Hirrolot
3038892e32 Lay out the difference between REPLs and dispatching
Former-commit-id: 3bdd6bdcb7
2022-07-24 18:56:53 +06:00
Hirrolot
2f306fe488 Merge pull request #689 from teloxide/simplify-repls-impl
Simplify the implementation of REPLs

Former-commit-id: 431cdd1abb
2022-07-24 15:58:56 +06:00