Commit graph

162 commits

Author SHA1 Message Date
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
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
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
Waffle
02a4df4b5c Switch to developement teloxide-core version 2021-05-15 23:37:14 +03:00
Waffle
9b34586a04 Normalize docs 2021-05-15 23:37:14 +03:00
Diego Roig
6724f265e3 remove reqwest dependency 2021-03-26 17:34:39 -05:00
Waffle Lapkin
101528e453
Resolve fixme (#350)
* Update redis

* Resolve fixme(waffle) related to building docs

* Fix broken links

* Reexport teloxide_core::prelude as `no_inline`
2021-03-22 00:43:19 +06:00
Hirrolot
8522759e68
Get ready for v0.4.0 (#347)
* Get ready for v0.4.0

* Export teloxide_macros as macros in lib.rs

* Use tokio v1.3 in README.md

* Return the feature 'macros' back

* Export teloxide_macros::teloxide in the prelude

* Document the 'macros' feature in README.md

* Update src/lib.rs

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>

* Update src/prelude.rs

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>

* Propagate features from teloxide-core

* teloxide-core = 0.2.1

* Fix CI

* Require teloxide-core/auto_send instead of teloxide/auto-send

* default-features = false (teloxide-core)

* Specify each teloxide-core feature separately

* Fix Cargo.toml

* JSON -> Json, CBOR -> Cbor

* Update Cargo.toml

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2021-03-21 18:34:23 +06:00
Temirkhan Myrzamadi
be7bec6fa9 Support UpdateKind::{MyChatMember, ChatMember} 2021-03-17 23:36:51 +06:00
Temirkhan Myrzamadi
5f96da0a5f Fix the tests 2021-03-13 23:05:50 +06:00
Temirkhan Myrzamadi
1af0bfdcbc Fix the examples 2021-03-13 22:13:24 +06:00
Temirkhan Myrzamadi
6102a02ed4 Integrate teloxide-core 2021-03-06 03:18:03 +06:00
Temirkhan Myrzamadi
f33428be03 Update the dependencies 2021-02-22 08:14:33 +06:00
Waffle Lapkin
dbc03c0769
Merge branch 'dev' into fix-serde-export-master 2021-01-13 16:20:25 +03:00
Temirkhan Myrzamadi
433b4df614 v0.3.4 2021-01-13 11:32:39 +06:00
Temirkhan Myrzamadi
57b2af965a Remove the 'runtime-tokio' feature of sqlx (Cargo.toml) 2020-11-24 21:26:16 +06:00
Temirkhan Myrzamadi
71df5bad3e Specify 'runtime-tokio-native-tls' for sqlx (Cargo.toml) 2020-11-24 21:17:49 +06:00
Waffle Lapkin
89ae390dfe
Merge pull request #294 from teloxide/sqlite_storage
Sqlite storage v2
2020-11-04 12:01:21 +03:00
Temirkhan Myrzamadi
5abb6c6dbd 0.3.2 -> 0.3.3 (Cargo.toml) 2020-10-30 13:45:22 +06:00
Lachezar Lechev
656db8273b
Update Cargo.toml docs.rs metadata
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
2020-10-26 07:27:13 +02:00
Lachezar Lechev
43cdedb06a
Readme "nightly" feature comment update 2020-10-25 18:19:44 +02:00
Lachezar Lechev
9ae81ac978
add doc(cfg) attributes 2020-10-25 17:55:04 +02:00