Commit graph

2523 commits

Author SHA1 Message Date
Waffle Maybe
9d062f62ce
Merge pull request #488 from teloxide/update-license-year-2022
Update the license year to 2022
2022-01-02 00:12:39 +03:00
Hirrolot
4b2d223bcd
Update the license year 2022-01-02 02:52:34 +06:00
p0lunin
e2891d6d00 remove #[out()] attribute 2021-12-29 14:21:37 +02:00
p0lunin
72dfef4963 added DialogueState macro 2021-12-29 13:33:51 +02:00
p0lunin
6c0f1b9fc4 Added handler_factory.rs 2021-12-28 18:24:56 +02:00
Maybe Waffle
edecf5975f Update teloxide-core to the latest git version 2021-12-28 17:31:33 +03:00
p0lunin
600330f827 remove state.rs file 2021-12-27 17:23:37 +02:00
Hirrolot
2c2cfae0e0 Merge branch 'dispatching2' of https://github.com/teloxide/teloxide into dispatching2 2021-12-27 21:13:57 +06:00
Hirrolot
b253b7eec2 Don't define async fn run()
rustc now emits enough good compiler error messages for procedural macros such as `#[tokio::main]`.
2021-12-27 21:13:46 +06:00
p0lunin
50f37cf43b update dialogue_bot example 2021-12-27 17:12:31 +02:00
p0lunin
b10288f751 remove unused imports 2021-12-26 20:06:21 +02:00
p0lunin
161d40897c Merge remote-tracking branch 'origin/dispatching2' into dispatching2
# Conflicts:
#	Cargo.toml
#	examples/sqlite_remember_bot/src/main.rs
#	src/dispatching2/dispatcher.rs
#	src/dispatching2/repls/commands_repl.rs
2021-12-26 20:03:21 +02:00
p0lunin
51d6a2e900 Update admin_bot example. 2021-12-26 19:59:32 +02:00
p0lunin
4452631fcc fix repls 2021-12-26 19:59:13 +02:00
p0lunin
a644d0b6d2 added handler_ext.rs, updated dptree version 2021-12-26 16:55:24 +02:00
Hirrolot
15a2beceb5
Merge pull request #484 from teloxide/remove-authors
Remove the `authors` field from `Cargo.toml`
2021-12-25 02:55:32 +06:00
Hirrolot
e12b644e31 Remove the authors field from Cargo.toml 2021-12-24 21:25:51 +06:00
Hirrolot
ba7c3ed35b Remove unused imports 2021-12-24 10:42:08 +06:00
Hirrolot
957bff44b9 Update dptree 2021-12-24 10:41:28 +06:00
Hirrolot
47445cb7b0
Merge pull request #483 from luminosoda/patch-1
crates.io no longer shows badges
2021-12-21 18:39:00 +06:00
Andrew
2dba0aa2f0
crates.io no longer shows badges 2021-12-21 15:35:48 +05:00
Hirrolot
4958f0dae7 Update dptree 2021-12-21 12:11:41 +06:00
p0lunin
6959d1c928 added dialogues + updated sqlite_remember_bot example. 2021-12-15 13:46:32 +02:00
p0lunin
3f1d1360c6 fmt 2021-12-11 13:11:44 +02:00
p0lunin
635c18142a 1. Bump futures to 0.3.15 version (Abortable::is_aborted()).
2. Fix simple_commands_bot example.
2021-12-11 13:11:25 +02:00
p0lunin
4752b22c43 1. Change feature dispatching2 -> old_dispatching.
2. Added command repls.
3. Added function BotCommand::ty() due to new restrictions in the command repls.
2021-12-11 12:46:44 +02:00
p0lunin
e53f9eb2b3 use new system in the dice example 2021-12-03 16:02:57 +02:00
Hirrolot
d742701c3b
Merge pull request #474 from alenpaul2001/dev
added alenpaul2001/AurSearchBot
2021-12-03 13:50:08 +06:00
alenpaul2001
a8e0b02153
added alenpaul2001/AurSearchBot 2021-12-03 13:11:39 +05:30
p0lunin
93ed028e44 added dispatching2 feature, implemented standard repls 2021-11-25 13:44:55 +02:00
p0lunin
14083c8300 Many improvements of Dispatcher, also made many dispatcher::* methods and types pub(crate) for using in dispatching2 module 2021-11-25 12:59:54 +02:00
Hirrolot
595806f330
Merge pull request #472 from reinaldorauch/fix-readme
fix example's Cargo.toml
2021-11-19 21:46:08 +06:00
Reinaldo Antonio Camargo Rauch
ed7aa91d22 fix example's Cargo.toml 2021-11-16 23:30:49 -03:00
Hirrolot
8ac3c388d1
Merge pull request #469 from crapstones-forks/add-hsctt
add crapstone/hsctt
2021-11-15 00:28:33 +06:00
crapStone
8030338444
fix link
Co-authored-by: Hirrolot <hirrolot@gmail.com>
2021-11-14 12:07:14 +01:00
p0lunin
887b24d27f Initial commit.
1. Added `dptree` dependency.
2. Added `dispatching2` module.
2. Added `Dispatcher` and `Handlers` types, which is similar to `dispatching::Dispatcher` type.
2021-11-13 12:35:56 +02:00
crapStone
8e417eab40
add crapstone/hsctt 2021-11-08 15:02:43 +01:00
Hirrolot
7947293213
Merge pull request #466 from teloxide/master-to-dev-1
Bring latest `master` hotfix to `dev`
2021-11-01 10:14:04 +06:00
Hirrolot
cf56b3bfda
Merge pull request #467 from teloxide/pin-ci-tooling
Pin tooling in the CI to a specific version
2021-10-25 21:22:35 +06:00
Waffle Maybe
088a51cb5f
Pin tooling in the CI to a specific version
Both Clippy and Rustfmt are pinned to the current latest version (2021-10-24)
2021-10-25 17:39:26 +03:00
Waffle Maybe
fb238ff656
Merge branch 'dev' into master-to-dev-1 2021-10-25 17:17:42 +03:00
Hirrolot
178937f9d7
Fix the patch release number (0.5.2 => 0.5.3) 2021-10-25 20:10:12 +06:00
Waffle Maybe
3e0c8e5fe7
Merge pull request #465 from teloxide/0-5-3_version_bump
Version bump: `0.5.2` -> `0.5.3`
2021-10-25 16:26:43 +03:00
Maybe Waffle
f31adc1bb2 Dump version (0.5.2 -> 0.5.3) 2021-10-25 15:52:57 +03:00
Maybe Waffle
f6c4701932 fix clippy 2021-10-25 15:50:04 +03:00
Waffle Maybe
5ccefb8333
Merge pull request #464 from bemyak/fix-ctrlc-feature
Fix compilation without ctrlc_handler feature
2021-10-25 15:45:27 +03:00
­
964323fca4
Fix compilation without ctrlc_handler feature
The feature gate is moved to the `dispatching` mod level.
Public exports are also covered by this flag now.
2021-10-25 02:12:11 +03:00
Hirrolot
adcfd196e0
Merge pull request #463 from bemyak/add-missing-doc-features
Docs: Add missing features description
2021-10-24 23:50:11 +06:00
­
a7049c9e7d
Docs: Add missing features description 2021-10-23 01:56:17 +03:00
Hirrolot
0b94cb2894
Merge pull request #461 from teloxide/improve_buttons_example
Improve `buttons` example
2021-10-16 22:39:30 +06:00