Commit graph

69 commits

Author SHA1 Message Date
Waffle
3c70ae5de0 make native-tls default feature 2021-01-21 23:48:04 +03:00
Mikail Bagishov
56f0fc609d fixup 2021-01-21 23:48:04 +03:00
Mikail Bagishov
e289729055 Support rustls
This was teloxide-based applications can be easily compiled for musl
targets.
2021-01-21 23:47:46 +03:00
Waffle
6abf571c96 Remove git dependency 2021-01-21 22:25:20 +03:00
Waffle
580f50e736 Add very basic example 2021-01-13 16:12:04 +03:00
Waffle
d3ecca662b Normalize docs 2021-01-07 18:00:57 +03:00
Waffle
71d90002ce update dependencies 2021-01-07 15:58:51 +03:00
Waffle
d7d8bc6246 Add all tba methods to Requester trait 2020-11-24 19:32:29 +03:00
Waffle
e79f83d4a1 Move bot adaptors to own module and place then under features
This commit moves `bot::{auto_send,cache_me,limits}` modules to
`adaptors::{auto_send,cache_me,throttle}.

ALso it adds 4 crate features:
- `throttle`
- `cache_me`
- `auto_send`
- `full` (enables all features, except `nightly`)
2020-10-21 05:14:48 +03:00
Waffle
d43f2514d3 [throttle] use channel close to send unlock "messages"
Also use `with_capacity` for queue
2020-10-02 20:53:00 +03:00
Waffle
7fdf9cd9a6 [throttle] implement send_ref 2020-10-02 20:53:00 +03:00
Waffle
b38e35b630 [throttle] format, docs, modfix and small additions 2020-10-02 20:52:56 +03:00
Waffle
5f5e42054d [throttle] queue optimizations#1 2020-10-02 20:50:30 +03:00
Waffle
954c410c1b implement get_me caching 2020-09-22 22:55:19 +03:00
Waffle
07a403c279 implement default Bot's {Json,Multipart}Request 2020-09-19 20:30:36 +03:00
Waffle
72b776d859 some cleanup (serde_multipart) 2020-08-16 10:53:15 +03:00
Waffle
b303958afd implement serde multipart serializer
Serde multipart serializer can be used to serialize requests
into multipart/form-data without need for copy-paste and boilerplate
2020-08-16 00:21:01 +03:00
Waffle
a70cb4e008 Move core code from teloxide 2020-08-12 19:39:40 +03:00
Waffle
7891fa02bf Initial commit 2020-08-12 18:04:50 +03:00