Commit graph

103 commits

Author SHA1 Message Date
pan93412
7c84eead77
feat: add more rename rules with heck 2022-03-22 18:05:58 +08: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
Dmytro Polunin
75e0577b06
Update CHANGELOG.md 2022-01-18 16:29:30 +02:00
Dmytro Polunin
e06263a659
Merge pull request #13 from t-moe/master
Generate impl for commands() -> Vec<BotCommand>
2022-01-18 16:26:42 +02:00
Timo Lang
219406f5c0 Generate impl for bot_commands() -> Vec<BotCommand> 2022-01-17 18:57:39 +01:00
p0lunin
ee959c04cf rename out -> handler_out 2022-01-06 14:10:04 +02:00
p0lunin
8a022edfb5 fix error message 2021-12-29 14:33:46 +02:00
p0lunin
05fa8885b5 add dialogue_state.rs 2021-12-29 14:22:52 +02:00
Hirrolot
611891ae48 Prepare for v0.4.1 2021-07-11 17:41:08 +06:00
Hirrolot
57463d33dc Update CHANGELOG.md 2021-06-15 14:06:05 +06:00
Hirrolot
4dc5fc689b Fix Clippy 2021-06-15 14:03:49 +06:00
Hirrolot
4e80218e3d
Merge pull request #12 from oxalica/fix/generic-type
Fix generic type handling
2021-06-15 13:25:17 +06:00
oxalica
ddecf40b37
Fix generic type handling 2021-06-15 13:08:18 +08:00
Temirkhan Myrzamadi
66e1f27702 Get ready for v0.4.0 2021-03-19 16:31:05 +06:00
Temirkhan Myrzamadi
6fc7e7d804 Adjust with the latest teloxide 2021-03-06 03:07:42 +06:00
Temirkhan Myrzamadi
cbb1f39e7b
Merge pull request #9 from robinhundt/master
Use FromStr in default parser
2020-09-05 19:12:49 +06:00
Robin Hundt
fc7126d727 Check count_args in create_parser 2020-09-02 14:29:52 +02:00
Robin Hundt
1f295f6f36 Use FromStr in default parser 2020-08-28 23:29:00 +02:00
Temirkhan Myrzamadi
30024d7792 Update the docs 2020-08-01 17:49:14 +06:00
Temirkhan Myrzamadi
fc605e1ff7
Merge pull request #7 from teloxide/feature/arbitrary-transition-result-types
Unpair TransitionOut from concrete Error type
2020-08-01 16:14:16 +06:00
Kirill Mironov
0d6ede03a9 Unpair TransitionOut from concrete Error type 2020-07-31 23:56:32 +03:00
Temirkhan Myrzamadi
36f83f1093
Update Cargo.toml 2020-07-27 00:58:32 +06:00
Temirkhan Myrzamadi
37c32743a8
Update CHANGELOG.md 2020-07-27 00:58:08 +06:00
Temirkhan Myrzamadi
e2e0c838a5 #[teloxide(transition)] -> #[teloxide(subtransition)] 2020-07-27 00:51:02 +06:00
Temirkhan Myrzamadi
2ae87a76ae SubTransition -> Subtransition 2020-07-27 00:49:40 +06:00
Temirkhan Myrzamadi
7a755bfc2f Document #[derive(Transition)] and #[teloxide(transition)] 2020-07-27 00:45:12 +06:00
Temirkhan Myrzamadi
5f89c46b39 Respect type Aux in Transition 2020-07-27 00:25:56 +06:00
Temirkhan Myrzamadi
cdd988afe9 async { ... } -> async move { ... } 2020-07-27 00:13:00 +06:00
Temirkhan Myrzamadi
a21513353e Fix Clippy 2020-07-26 23:17:41 +06:00
Temirkhan Myrzamadi
58c71b523b Refactor a little bit 2020-07-26 23:01:15 +06:00
Temirkhan Myrzamadi
117690514d Respect an auxiliary parameter 2020-07-26 22:53:37 +06:00
Temirkhan Myrzamadi
2e0c6a57d2 Merge branch 'master' of https://github.com/teloxide/teloxide-macros 2020-07-25 22:40:16 +06:00
Temirkhan Myrzamadi
2c17d2f7a3 Implement a nicer approach with transitions 2020-07-25 22:33:56 +06:00
Temirkhan Myrzamadi
f5dbfb246c
Merge pull request #6 from teloxide/dev
Merge dev
2020-07-25 20:03:18 +06:00
p0lunin
055a4d09cb fmt 2020-07-25 16:57:51 +03:00
p0lunin
a934061fb5 removed suffix in generated code (2) 2020-07-25 16:55:35 +03:00
p0lunin
6e91f7f796 removed suffix in generated code 2020-07-25 16:27:39 +03:00
Temirkhan Myrzamadi
bf173dec8a Add rustfmt.toml 2020-07-24 19:36:22 +06:00
Temirkhan Myrzamadi
bcb5d291d0 Check for 'transition', not 'handler' 2020-07-24 19:35:08 +06:00
Temirkhan Myrzamadi
d249858a4c
Update CHANGELOG.md 2020-07-24 19:31:48 +06:00
Temirkhan Myrzamadi
22f8d22a54
Update CHANGELOG.md 2020-07-24 19:30:40 +06:00
Temirkhan Myrzamadi
99e21dce4f
Merge pull request #5 from teloxide/dev
Remove dev
2020-07-24 19:29:06 +06:00
Temirkhan Myrzamadi
878e4370af Use TransitionIn 2020-07-24 19:28:02 +06:00
Temirkhan Myrzamadi
f0ab748cce Use #[transition] instead of #[handler] 2020-07-24 18:29:30 +06:00