Commit graph

142 commits

Author SHA1 Message Date
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
Sergey Levitin
5e1fe064cd Add tests for sqlite storage 2020-10-24 19:51:55 +03:00
Temirkhan Myrzamadi
7b1fbabdcb
Merge pull request #301 from teloxide/master
v0.3.2
2020-10-23 11:58:02 +06:00
Temirkhan Myrzamadi
3c04d573f9 Prepare for v0.3.2 2020-10-23 08:23:09 +06:00
Sergey Levitin
e751624d6f Implement sqlite storage methods #144 2020-10-19 02:18:21 +03:00
Sergey Levitin
900ae4f630 Merge branch 'dev' of github.com:teloxide/teloxide into sqlite 2020-10-19 00:15:21 +03: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
Waffle Lapkin
814adabdb6
Merge branch 'dev' into v0.3.1_release 2020-09-26 19:01:16 +03:00
Waffle
04f8ed5df7 v0.3.1 release 2020-08-25 17:45:16 +03:00
Waffle
981ba237c9 redis test fix & beta/nightly ci
This commit fixes redis storage test, those were not ran before.
Also, introduces beta&nightly tests to CI
2020-08-12 23:53:58 +03:00
Waffle
3157305105 add automatic test of code blocks from readme 2020-08-12 23:21:13 +03:00
Waffle
00e39e8d35 enable all features for docs.rs doc build 2020-08-12 22:48:36 +03:00
Temirkhan Myrzamadi
b3aa539c4d Download the master branch of teloxide-macros 2020-08-01 17:52:50 +06:00
Kirill Mironov
ffb5f29362 Allow for custom error types in TransitionOut 2020-08-01 00:18:52 +03:00
Temirkhan Myrzamadi
b68d03ae83
v0.3.0 Cargo.toml 2020-07-31 21:54:52 +06:00
Temirkhan Myrzamadi
62a116dbc0 Use only required tokio-util features 2020-07-31 19:58:41 +06:00
Temirkhan Myrzamadi
337b89112b Use only required Tokio features 2020-07-31 19:42:11 +06:00
S-Y-rat
c09eca1e39 Switch from rusqlite to sqlx with sqlite feature enabled 2020-07-31 15:59:26 +03:00
S-Y-rat
d0ab14d593 Make sqlite-storage visible 2020-07-31 15:20:27 +03:00
Temirkhan Myrzamadi
3a0a005265 Use frunk v0.3.1 2020-07-28 20:58:23 +06:00
Temirkhan Myrzamadi
709fe18ade Use teloxide-macros v0.3.2 2020-07-27 02:42:08 +06:00