Commit graph

69 commits

Author SHA1 Message Date
TheAwiteb
9eececeab2
Show the command in the help message, even if its description is off if it is written in doc comment 2023-09-12 18:22:51 +03:00
TheAwiteb
9545075023
Keep the \n in the doc comment as it is (don't replace it to newline) 2023-09-10 10:24:52 +03:00
TheAwiteb
e0654f7c0d
Update #[command(description = "description")] docs 2023-09-10 10:24:44 +03:00
TheAwiteb
72f8f40f59
Fix examples fmt 2023-09-10 10:22:13 +03:00
TheAwiteb
7304e552cd
More than one attribute for the description test 2023-09-10 10:22:13 +03:00
TheAwiteb
c0fd07184b
Add tests for new line doc comment 2023-09-10 10:22:12 +03:00
TheAwiteb
b91c53588d
Add tests for /// Help message 2023-09-10 10:22:12 +03:00
TheAwiteb
9a2e39ea01
Rebase https://github.com/teloxide/teloxide/tree/master into https://github.com/TheAwiteb/teloxide/tree/support-doc-attr 2023-09-10 10:20:21 +03:00
fr0staman
1630830a7d Use UserId instead of u64 for user_id in user_mention 2023-07-09 21:23:11 +03:00
fr0staman
e3e89a1691 Use u64 instead of i64 for user_id in html::user_mention and markdown::user_mention 2023-07-09 15:00:04 +03:00
Maybe Waffle
13424c3fdc Add UpdateId 2023-06-15 15:40:50 +04:00
TheAwiteb
44d230e3be Fix rustfmt 2023-06-14 18:28:55 +04:00
TheAwiteb
dd24f750f2 Add documentation for #[command(hide)] 2023-06-14 18:28:01 +04:00
TheAwiteb
ebdab88311 Add tests for #[command(hide)] 2023-06-14 18:28:01 +04:00
Maybe Waffle
73e7bdb8e3 Fix a clippy warning in examples 2023-05-29 20:28:05 +04:00
Maybe Waffle
6911e323fd Don't cfg(all(single_thing)) 2023-05-29 20:06:07 +04:00
Waffle Maybe
da00c9274b
Merge pull request #837 from puuuuh/master
fix split parser for tuple struct with len <2
2023-03-17 15:01:47 +00:00
Maybe Waffle
0fb3cdd6b4 Fix docs.rs build 2023-02-16 00:29:13 +04:00
Maybe Waffle
e54acb76ea Release teloxide v0.12.1 2023-02-15 23:48:50 +04:00
Maybe Waffle
750d8c3209 Release teloxide-core v0.9.1 2023-02-15 23:09:01 +04:00
Sima Kinsart
42514e93db
Merge pull request #826 from teloxide/better_error_workaround
Rewrite hacks for reliable `Update` deserialization
2023-02-15 12:01:18 +00:00
Maybe Waffle
119e305729 Add sqlite-storage-rustls feature 2023-02-13 11:59:06 +04:00
elpekenin
650216d373 Fix broken example links 2023-02-09 23:18:18 +01:00
puuuuh
18a5444f82
Merge branch 'teloxide:master' into master 2023-02-07 10:02:47 +03:00
Maybe Waffle
cbbfc5b3d1 Rewrite hacks for reliable Update deserialization 2023-02-06 12:20:46 +04:00
Sima Kinsart
6909353500
Merge pull request #835 from teloxide/sync-update-kinds
Synchronize places that use update kinds
2023-02-05 13:16:31 +06:00
puh
b91c79e524
fix split parser for tuple struct with len <2 2023-02-04 15:04:20 +03:00
Maybe Waffle
29a027c800 Switch to path+version teloxide-{core,macros} deps 2023-02-03 17:12:35 +04:00
Maybe Waffle
2fee7b8503 Simplify an iterator 2023-02-03 16:44:28 +04:00
Maybe Waffle
7a871b7487 Add missing Update::filter_chat_join_request 2023-02-03 16:15:45 +04:00
Maybe Waffle
e97ac18060 Add notes reminding to update places after updating updates 2023-02-03 16:11:20 +04:00
Maybe Waffle
b78a3afde3 Include ChatJoinRequest in full set of update kinds 2023-02-03 16:01:38 +04:00
Hirrolot
558f2739aa
Fix the number of keywords in Cargo.toml 2023-01-18 01:35:14 +06:00
Hirrolot
125917cfeb
Release teloxide v0.12.0 2023-01-18 01:25:47 +06:00
Maybe Waffle
63e696d8c9 Fix formatting 2023-01-14 18:21:46 +04:00
Sanpi
09a1215622
Uses full qualified names in macros code 2023-01-09 19:27:01 +01:00
Waffle Maybe
b826c3a34b
Merge pull request #804 from teloxide/docccc
Fix documentation build
2022-12-29 14:09:25 +04:00
Maybe Waffle
4cae2c93cb Use new format! syntax where possible
(fix clippy)
2022-12-29 04:04:50 +04:00
Maybe Waffle
867adbb20b Update scrape examples options 2022-12-29 00:31:17 +04:00
Artyom
0be873122f Removed unnecessary break in comment. 2022-12-27 23:04:31 +06:00
Maybe Waffle
1f5b242b36 Add deprecation note 2022-12-15 17:04:05 +04:00
Maybe Waffle
6f1bb4b519 revert move of storage module 2022-12-14 19:47:21 +04:00
Maybe Waffle
a366334710 Thank god we test --no-default-features in CI uhhhhh 2022-12-14 19:30:21 +04:00
Maybe Waffle
dccd3ce4c7 Add back old module paths, but deprecate then 2022-12-12 18:30:27 +04:00
Maybe Waffle
aa8be1cd15 Flatten teloxide module structure 2022-12-12 18:30:27 +04:00
Sima Kinsart
bb6dd81f6a
Merge branch 'dev' into const-must-use 2022-12-09 19:17:55 +06:00
Hirrolot
cde45ab8ee Remove useless const 2022-12-09 19:16:41 +06:00
Maybe Waffle
7ea428a21c Properly gate tests, so that cargo test works with any features 2022-12-06 16:06:35 +04:00
Maybe Waffle
dfb22450fc Refactor Cargo.tomls 2022-11-28 22:14:49 +04:00
Lev Khoroshansky
b6c27db50e fix: Adjust to axum@0.6.0 2022-11-28 15:43:09 +01:00