Commit graph

14 commits

Author SHA1 Message Date
Waffle
39e0ee094a Ignore buggy nonstandard_macro_braces clippy lint 2021-07-04 00:22:11 +03:00
Temirkhan Myrzamadi
34a2eee1fa Apply review suggestions 2021-03-15 09:22:32 +06:00
Temirkhan Myrzamadi
5f96da0a5f Fix the tests 2021-03-13 23:05:50 +06:00
Jaslo Ziska
eed1bbb0fc
Conditionally add teloxide-macros crate and reexport macros
This commit adds the feature "macros" which conditionally adds the
teloxide-macros crate and reexports its macros.

All (doc) tests using these macros are also conditionally enabled now.
Also change examples accordingly.

This commit solves https://github.com/teloxide/teloxide/issues/283
2020-10-02 20:43:26 +02:00
Robin Hundt
abb7b9335e Removed whitespace 2020-09-02 16:12:59 +02:00
Robin Hundt
e4449e49f3 Added failing test case for command with single non-String arg 2020-08-28 23:33:16 +02:00
Temirkhan Myrzamadi
38a1f470ad Use the default characters per line limit 2020-07-26 23:47:02 +06:00
Temirkhan Myrzamadi
f90da598c5 Fix one Clippy's warning 2020-07-16 21:42:07 +06:00
p0lunin
030a349f60 fmt 2020-07-04 10:47:46 +03:00
p0lunin
58cb5ad152 added test for descriptions="off" attribute 2020-07-04 10:44:42 +03:00
p0lunin
9944524e34 added Box<dyn Error> in IncorrectFormat error 2020-06-24 19:18:12 +03:00
p0lunin
1e71268748 fmt 2020-06-06 21:32:51 +03:00
p0lunin
50b2b73f26 small fixes 2020-06-06 20:30:41 +03:00
p0lunin
1475b62e57 moved teloxide::utils::command::tests to tests/command.rs 2020-06-06 20:14:42 +03:00