Commit graph

28 commits

Author SHA1 Message Date
Hirrolot
934ee94a5e 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 21:00:58 -04:00
Temirkhan Myrzamadi
1a76a0e34d Apply review suggestions 2021-03-21 21:00:58 -04:00
Temirkhan Myrzamadi
8b1c3b8101 Fix the tests 2021-03-21 21:00:58 -04:00
Temirkhan Myrzamadi
226249441a Fix the tests 2021-03-21 21:00:58 -04:00
Sergey Levitin
5e1fe064cd Add tests for sqlite storage 2020-10-24 19:51:55 +03: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
Robin Hundt
abb7b9335e Removed whitespace 2020-09-02 16:12:59 +02:00
Robin Hundt
e4449e49f3 Added failing test case for command with single non-String arg 2020-08-28 23:33:16 +02: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
S-Y-rat
8413b6b2b7 Implemented connection tests 2020-07-31 21:37:35 +03:00
Temirkhan Myrzamadi
0ce9c7a5b0 Compile tests/redis.rs only if all the features are satisfied 2020-07-31 20:18:00 +06:00
S-Y-rat
fc5c855a23 Sqlite-storage feature added 2020-07-31 09:31:08 +03:00
Temirkhan Myrzamadi
38a1f470ad Use the default characters per line limit 2020-07-26 23:47:02 +06:00
Temirkhan Myrzamadi
f90da598c5 Fix one Clippy's warning 2020-07-16 21:42:07 +06:00
Temirkhan Myrzamadi
56dadfbb34 Return Arc<RedisServer> 2020-07-04 21:02:07 +06:00
Temirkhan Myrzamadi
9eee923aad Open separate connections to redis during testing 2020-07-04 20:54:47 +06:00
Temirkhan Myrzamadi
33910864c7
Merge branch 'master' into redis 2020-07-04 20:34:07 +06:00
p0lunin
030a349f60 fmt 2020-07-04 10:47:46 +03:00
p0lunin
58cb5ad152 added test for descriptions="off" attribute 2020-07-04 10:44:42 +03:00
Temirkhan Myrzamadi
d66ede5ecf Fix tests/redis.rs 2020-07-01 22:31:30 +06:00
Temirkhan Myrzamadi
a7846bb165 Connect RedisStorage to 7777 2020-07-01 21:32:30 +06:00
Temirkhan Myrzamadi
7fd32c8774 Add integrational tests for RedisStorage 2020-07-01 20:41:00 +06:00
p0lunin
9944524e34 added Box<dyn Error> in IncorrectFormat error 2020-06-24 19:18:12 +03:00
p0lunin
1e71268748 fmt 2020-06-06 21:32:51 +03:00
p0lunin
50b2b73f26 small fixes 2020-06-06 20:30:41 +03:00
p0lunin
1475b62e57 moved teloxide::utils::command::tests to tests/command.rs 2020-06-06 20:14:42 +03:00