Commit graph

145 commits

Author SHA1 Message Date
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
46c7f21988
Merge pull request #28 from teloxide/v0.6.3
Release v0.6.3
2022-07-19 21:58:35 +06:00
Hirrolot
21a157347d Release v0.6.3 2022-07-19 21:56:59 +06:00
Waffle Maybe
4274eeeba9
Merge pull request #27 from teloxide/fix-parse-with-path
Allow specifying a path to a command handler in `parse_with`
2022-07-19 19:55:45 +04:00
Hirrolot
44d91c56c4 Update CHANGELOG.md 2022-07-19 21:19:34 +06:00
Hirrolot
84f3bee764 Fix Clippy 2022-07-19 21:16:08 +06:00
Hirrolot
bde8222e5a Allow specifying a path as a parse_with argument 2022-07-19 21:06:56 +06:00
Hirrolot
340ecbd7ff Release v0.6.2 2022-05-27 00:07:32 +06:00
Hirrolot
4bfc8191c4 Update the changelog 2022-05-27 00:06:24 +06:00
Hirrolot
e344b11dcc
Merge pull request #25 from nanpuyue/fix-rename-rules
fix: rename_by_rule
2022-05-26 23:11:04 +06:00
南浦月
348a17fb82 fix: rename_by_rule 2022-05-01 22:18:22 +08:00
Hirrolot
c312aa1e54 Release v0.6.1 2022-04-26 02:12:22 +06:00
Hirrolot
a3e69b811e
Merge pull request #24 from teloxide/fix-dialogue-state
Fix `DialogueState`
2022-04-26 01:41:39 +06:00
Hirrolot
5108c20910 Fix DialogueState 2022-04-26 01:39:29 +06:00
Hirrolot
c83b8df5d5
Merge pull request #22 from teloxide/v0.6.0
Release v0.6.0
2022-04-09 02:31:05 +06:00
Hirrolot
9d7bd2aeed Release v0.6.0 2022-04-09 02:27:26 +06:00
Waffle Maybe
47ee7606d4
Merge pull request #21 from teloxide/deprecate-dialogue-state
Deprecate `#[derive(DialogueState)]`
2022-04-08 12:55:19 +04:00
Hirrolot
09ff265590 Update CHANGELOG.md 2022-04-08 00:09:57 +06:00
Hirrolot
74d44868a6 Deprecate #[derive(DialogueState)] 2022-04-08 00:08:05 +06:00
Hirrolot
dfba097c71
Merge pull request #20 from teloxide/update-dispatching
Remove support for the old dispatching
2022-04-02 08:20:10 -07:00
Hirrolot
9e415b1b8b Merge branch 'master' into update-dispatching 2022-03-29 01:51:26 +06:00
Waffle Maybe
03b92d1945
Merge pull request #15 from teloxide/bot_commands_better_descriptions
Update `BotCommand` macro
2022-03-28 22:41:59 +04:00
Maybe Waffle
7e000b917a derive(BotCommands): support new descriptions() 2022-03-27 13:21:24 +04:00
Maybe Waffle
f0fffa7125 Rename BotCommand -> BotCommands 2022-03-27 13:21:24 +04:00
Hirrolot
eac5149594 Update the changelog 2022-03-24 17:40:30 +06:00
Hirrolot
144eb73aaf Remove support for the old dispatching 2022-03-24 15:04:38 +06:00
Hirrolot
32205527a7
Merge pull request #19 from teloxide/v0.5.1
Release v0.5.1
2022-03-23 04:39:07 -07:00
Hirrolot
37d7dd29bb
Separate sections in CHANGELOG.md 2022-03-23 07:55:24 +06:00
Hirrolot
c32e52dc47 Merge branch 'master' into v0.5.1 2022-03-23 07:53:41 +06:00
Hirrolot
f9615fc5ab Fix fmt 2022-03-23 07:52:04 +06:00
Hirrolot
ffeaa58afc Release v0.5.1 2022-03-23 07:51:23 +06:00
Hirrolot
e645c9fc7b
Merge pull request #16 from teloxide/insensitive
make bot name check case insensitive
2022-03-22 05:33:15 -07:00
Hirrolot
eb3d5407de
Merge pull request #18 from pan93412/feat/more-rename-rules
feat: add more rename rules with heck
2022-03-22 05:31:31 -07:00
pan93412
7c84eead77
feat: add more rename rules with heck 2022-03-22 18:05:58 +08:00
Maybe Waffle
064b19e735 make bot name check case insensitive 2022-03-15 21:00:00 +04:00
Hirrolot
b5ce345648 Bump the version to v0.5.0 2022-02-05 21:36:47 +06:00
Hirrolot
0572825748 Update the changelog 2022-02-05 21:34:40 +06:00
Hirrolot
fd8d16bc8f
Merge pull request #14 from teloxide/dispatching2
Dispatching2
2022-02-05 01:26:20 +06:00
Hirrolot
4ea14fba53 Fix Clippy 2022-02-05 01:23:18 +06:00
Hirrolot
57d3e266fa Remove useless async move { ... } 2022-02-04 23:59:52 +06:00
Hirrolot
59750612a2 Support multiple fields in DialogueState 2022-02-03 03:10:58 +06:00
Hirrolot
39bdab3754 Fix semicolon issues 2022-02-03 02:34:19 +06:00