Commit graph

169 commits

Author SHA1 Message Date
Maybe Waffle
7beb705b4a Update changelog 2022-10-03 20:54:05 +04:00
Maybe Waffle
f3bb54d670 Add #[command(rename = "blah")] 2022-10-03 20:50:18 +04:00
Maybe Waffle
ff08854ca9 Refactor attributes AGAIN 2022-10-03 20:50:18 +04:00
Maybe Waffle
26eba3eb14 Rename rename => rename_rule 2022-10-03 20:50:18 +04:00
Waffle Maybe
53d7548815
Merge pull request #31 from teloxide/actual-tests
Actually tests that macros work
2022-10-03 18:32:41 +04:00
Hirrolot
bd4b74a297
Fix a typo in tests/command.rs 2022-10-03 20:28:57 +06:00
Maybe Waffle
013cd8e01d use real teloxide for tests 2022-10-03 16:28:45 +04:00
Maybe Waffle
66e7ebd7f1 Actually tests that macros work 2022-10-03 16:26:22 +04:00
Hirrolot
822300eb89
Merge pull request #33 from teloxide/fullpath
Use full path when implementing `BotCommands`
2022-10-03 18:09:17 +06:00
Hirrolot
ee2d480c3f
Merge pull request #32 from teloxide/no-authors-qqq
Remove the `authors` field from `Cargo.toml`
2022-10-03 18:08:35 +06:00
Maybe Waffle
dad9880da0 Use full path when implementing BotCommands 2022-10-02 16:11:22 +04:00
Maybe Waffle
534d478973 Remove the authors field from Cargo.toml 2022-09-29 14:11:51 +04:00
Hirrolot
2fdcd4153e
Merge pull request #30 from teloxide/refactor
refactor
2022-09-06 09:47:29 +06:00
Waffle Maybe
d5a5c44db4
Update CHANGELOG.md
Co-authored-by: Hirrolot <hirrolot@gmail.com>
2022-09-05 05:46:15 +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
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
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
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