Commit graph

4209 commits

Author SHA1 Message Date
Maybe Waffle
c854081dce make clippy happy
/I wish someone made *me* happy/
2022-09-15 22:31:22 +04:00
Maybe Waffle
b8dc2c7b31 Implement in-tree codegen 2022-09-15 22:31:17 +04:00
Maybe Waffle
353d7d6b06 Write documentation for ButtonRequest 2022-09-12 17:26:01 +04:00
Maybe Waffle
9131ccd6e5 Remove methods for creating InlineQuery 2022-09-12 16:57:19 +04:00
Maybe Waffle
f10bb5c3e0 Properly handle callback queries in examples/buttons.rs
Former-commit-id: 376ffc85f9
2022-09-12 16:50:59 +04:00
Waffle Maybe
a76b5d8a01 Merge pull request #710 from teloxide/updnght
Update nightly version in CI

Former-commit-id: ececfaf62b
2022-09-11 22:56:42 +04:00
Maybe Waffle
599d4dea25 Update docs of REPLs
Former-commit-id: bde0345e17
2022-09-09 23:54:52 +04:00
Maybe Waffle
49179dd274 Update nightly version in CI
Former-commit-id: 721908c08e
2022-09-09 21:59:11 +04:00
Maybe Waffle
1fad4ab3b3 Improve StopFlag's implementation
Former-commit-id: 0807eb57e1
2022-09-09 21:45:59 +04:00
Maybe Waffle
5c40bfa78c Replace StopToken trait with a single type
Former-commit-id: 9527f82608
2022-09-09 21:30:08 +04:00
Waffle Maybe
7a3257a5f4 Merge pull request #708 from teloxide/fix_buttons_example
Fix command parsing in `examples/button.rs`

Former-commit-id: 550982b7fe
2022-09-08 18:44:39 +04:00
Maybe Waffle
ead0464ddc Fix command parsing in examples/button.rs
Former-commit-id: f39180543e
2022-09-08 18:36:08 +04:00
Waffle Maybe
0ebb460247 Merge pull request #704 from teloxide/update_macros
update `teloxide-macros`

Former-commit-id: 748ff1da11
2022-09-06 07:52:06 +04:00
Hirrolot
1dcc257bb0 Merge branch 'dev' into update_macros
Former-commit-id: bd15d4beac
2022-09-06 09:48:30 +06:00
Hirrolot
2fdcd4153e
Merge pull request #30 from teloxide/refactor
refactor
2022-09-06 09:47:29 +06:00
Waffle Maybe
811b69a233 Merge pull request #705 from teloxide/update_listener_type_err
Turn `UpdateListener`'s generic error into an associated type

Former-commit-id: 014075573d
2022-09-06 07:25:35 +04:00
Maybe Waffle
e9e0175771 Correct a comment
Former-commit-id: 11fe8baebf
2022-09-05 18:56:24 +04:00
Maybe Waffle
f555c9739e Turn UpdateListener's generic error into an associated type
Former-commit-id: 8917e05bf8
2022-09-05 18:56:15 +04:00
Waffle Maybe
d5a5c44db4
Update CHANGELOG.md
Co-authored-by: Hirrolot <hirrolot@gmail.com>
2022-09-05 05:46:15 +04:00
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