Commit graph

181 commits

Author SHA1 Message Date
Hirrolot
7a932c8fd9 Merge examples/sqlite_remember.rs with redis_remember.rs 2022-03-12 14:33:38 +06:00
Hirrolot
3ad74b6a9b Release v0.7.1 2022-03-09 20:42:12 +06:00
Maybe Waffle
31ff3a468d Fix compilation with non-default features 2022-03-08 12:20:01 +04:00
Hirrolot
30d37741e4 Release v0.7.0 2022-02-09 08:38:57 +06:00
Maybe Waffle
675600bf74 Fix docs.rs build 2022-02-06 17:23:21 +03:00
Hirrolot
9eac077ecd Release v0.6.0 2022-02-06 17:47:56 +06:00
Hirrolot
3568ae5bd7 Update teloxide-macros to v0.5 2022-02-05 21:40:10 +06:00
Hirrolot
ec70e3b7d8 Update dptree to v0.1.0 2022-02-05 20:40:42 +06:00
Hirrolot
07b844db99 Add BotCommand::bot_commands 2022-02-05 02:18:47 +06:00
Hirrolot
67901fa53b Update dptree 2022-02-05 00:02:22 +06:00
Hirrolot
24917a60d4 Use #[derive(BotCommand)] in examples/sqlite_remember.rs and examples/redis_remember.rs 2022-02-04 20:59:46 +06:00
Hirrolot
09c3424097 Replace lazy_static with once_cell 2022-02-04 20:14:57 +06:00
Hirrolot
4259dcce7b Set teloxide-core to v0.4 2022-02-04 09:59:14 +06:00
Hirrolot
242bfef885 Fix merge conflicts 2022-02-03 20:39:32 +06:00
Hirrolot
45293e3168 Fix dialogue examples 2022-02-03 02:36:36 +06:00
Hirrolot
3b3f5f855f Make all examples just *.rs files 2022-02-02 03:54:00 +06:00
Hirrolot
2058395d54 Add Me into the dependencies 2022-01-28 20:52:01 +06:00
Maybe Waffle
755ec44aea Cleanup update_listeners docs 2022-01-25 20:25:19 +03:00
Maybe Waffle
85ef14867f Fix examples 2022-01-12 14:03:52 +03:00
Maybe Waffle
d5392fddab Update teloxide-core yet again 2022-01-12 12:50:35 +03:00
p0lunin
d7386a7dc1 remove old_dispatching feature, add prelude2 and repls2 modules 2022-01-06 14:50:59 +02:00
p0lunin
a8098350fc Merge branch 'dev' into dispatching2
# Conflicts:
#	Cargo.toml
#	examples/dialogue_bot/Cargo.toml
#	examples/inline_bot/src/main.rs
#	src/dispatching/mod.rs
#	src/lib.rs
2022-01-06 14:25:01 +02:00
p0lunin
ca1c1f3e33 update teloxide_macros dependency + update examples and tests using BotDialogue derive macro 2022-01-06 14:11:53 +02:00
p0lunin
72dfef4963 added DialogueState macro 2021-12-29 13:33:51 +02:00
Maybe Waffle
edecf5975f Update teloxide-core to the latest git version 2021-12-28 17:31:33 +03:00
p0lunin
a644d0b6d2 added handler_ext.rs, updated dptree version 2021-12-26 16:55:24 +02:00
Hirrolot
e12b644e31 Remove the authors field from Cargo.toml 2021-12-24 21:25:51 +06:00
Andrew
2dba0aa2f0
crates.io no longer shows badges 2021-12-21 15:35:48 +05: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
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
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
Waffle Maybe
fb238ff656
Merge branch 'dev' into master-to-dev-1 2021-10-25 17:17:42 +03:00
Maybe Waffle
f31adc1bb2 Dump version (0.5.2 -> 0.5.3) 2021-10-25 15:52:57 +03:00
Maybe Waffle
56e7b6feb2 Add auto-send to the list of default features 2021-10-10 14:47:21 +03:00
Hirrolot
2a6067fe94 Prepare for v0.5.2 2021-08-25 23:51:19 +06:00
Waffle
5e260d0afc Depend on a right futures version 2021-08-25 18:12:14 +03:00
Hirrolot
d339d82fbc Propagate the trace_adaptor & erased features from teloxide-core 2021-08-05 22:17:47 +06:00
Hirrolot
5c69117a38 Update teloxide-core to v0.3.3 2021-08-05 17:44:47 +06:00
Hirrolot
a35667ac2b Prepare for v0.5.1 2021-08-01 20:45:59 +06:00
Hirrolot
72e9821b15
Add the asynchronous category to Cargo.toml 2021-07-08 15:31:35 +06:00
Hirrolot
674b1f974a Prepare for v0.5.0 2021-07-08 15:22:13 +06:00
Waffle
81775a7217 Show "This is supported on feature="..." only." in socs of reexported teloxide-core items 2021-07-07 20:27:38 +03:00
Waffle
369e43aa7e Update dependencies 2021-07-05 21:29:36 +03:00
Waffle
1795cb22c2 setup ^C handler in repls 2021-06-26 17:19:56 +03:00
Waffle
f0de55ad55 Add Dispatcher::setup_ctrlc_handler function.
This function sets up `^C` handler which shuts down dispatching.
2021-06-25 16:57:24 +03:00
Hirrolot
f4260ed078 Replace lockfree with flurry 2021-06-18 20:53:03 +06:00
Waffle
0eef5b8487 Enable TLS by default
We use HTTPS which doesn't work without TLS implementation.
2021-05-18 18:52:29 +03:00