Commit graph

903 commits

Author SHA1 Message Date
Waffle Lapkin
8e01849fce
Merge pull request #106 from teloxide/skip_nones
Skip serializing nones with `#[skip_serializing_none]`
2019-12-30 15:12:45 +03:00
Temirkhan Myrzamadi
117094e9d0 Improve docs of FilterDispatcher 2019-12-30 17:27:30 +06:00
Waffle
7377467592 Skip serializing nones with #[serde_with_macros::skip_serializing_none] instead of many #[serde(skip_serializing_if = "Option::is_none")] 2019-12-30 13:44:22 +03:00
Temirkhan Myrzamadi
c51d9a0761
Merge pull request #103 from teloxide/vectorize_logo
Make logo svg
2019-12-30 16:42:39 +06:00
Temirkhan Myrzamadi
683d38e09a
Merge pull request #105 from teloxide/remove_macro_use
Remove `#[macro_use]` and use `use` instead
2019-12-30 16:41:44 +06:00
Temirkhan Myrzamadi
faf1bb5f89
Merge pull request #104 from teloxide/small_clippy_fixes
Small clippy fixes
2019-12-30 16:40:55 +06:00
Waffle Lapkin
2953310f13
Merge branch 'dev' into remove_macro_use 2019-12-30 13:17:30 +03:00
Waffle
550b28ae20 🤦 2019-12-30 13:16:23 +03:00
Waffle
51703b16b1 Remove #[macro_use] and use use instead 2019-12-30 13:14:19 +03:00
Waffle
661da5bbf4 Small clippy fixes 2019-12-30 12:29:11 +03:00
Waffle
374eb208c0 Make logo svg 2019-12-30 12:14:05 +03:00
Temirkhan Myrzamadi
95315c6c6e
Merge pull request #101 from teloxide/keyboard_button_enum
Replace `KeyboardButton`'s optional mutually exclusive fields by an enum
2019-12-30 05:06:43 +06:00
Temirkhan Myrzamadi
410c1cc8d8 Refactor teloxide::dispatching 2019-12-30 04:46:04 +06:00
p0lunin
f89ad5c1df 4 2019-12-28 13:10:30 +02:00
p0lunin
d855d14b3c 3 2019-12-28 13:08:26 +02:00
p0lunin
d2aab9906c 2 2019-12-27 22:37:52 +02:00
p0lunin
7544bb30d9 1 2019-12-27 21:55:43 +02:00
Waffle
42b11f572e Add \n to the end og the keyboard_button.rs file 2019-12-27 17:48:00 +03:00
Waffle Lapkin
0b475c2ad0
Merge branch 'dev' into keyboard_button_enum 2019-12-27 17:44:45 +03:00
Waffle
436f99e6b8 Replace KeyboardButton's optional mutually exclusive fields by an enum 2019-12-27 17:36:03 +03:00
Temirkhan Myrzamadi
0c0e1014c1
Merge pull request #99 from teloxide/doc_icon
Insert the icon into docs
2019-12-27 02:28:10 +06:00
Temirkhan Myrzamadi
d7e128c493 Merge branch 'dev' into doc_icon 2019-12-27 02:21:29 +06:00
Temirkhan Myrzamadi
00dc72e412
Merge pull request #100 from teloxide/new_fmt
Fixes of build on CI (fmt, never-ty)
2019-12-27 02:05:32 +06:00
Waffle
08375a3eff I previous commit I accidentally run cargo +stable fmt (instead of +nightly) and forgot std:: in one of imports. This commit fixes both problems. 2019-12-26 22:52:14 +03:00
Waffle
03967493f6 run rustfmt only on nightly 2019-12-26 22:45:34 +03:00
Waffle
0d1656752f fmt 2019-12-26 22:42:58 +03:00
Waffle
6eb91f04a8 Remove uses of ! to be compatible with rust <1.41 (in rust >=1.41 core::convert::Infallible = ! so with latest versions we will work just fine) 2019-12-26 21:50:39 +03:00
Temirkhan Myrzamadi
e2a4112bd6
Update lib.rs 2019-12-26 23:43:02 +06:00
Waffle
3cf3fe2acf fmt 2019-12-16 12:40:23 +03:00
Temirkhan Myrzamadi
807e3dc851 Insert the icon into docs 2019-12-13 10:20:49 +06:00
Temirkhan Myrzamadi
d93330cd1a
Merge pull request #94 from teloxide/doc_types
Fix the docs of the API types
2019-12-12 01:12:47 +06:00
Temirkhan Myrzamadi
2e7d1e8285 Fix weird formatting 2019-12-12 01:03:06 +06:00
Temirkhan Myrzamadi
d20bab850d Merge branch 'doc_types' of https://github.com/teloxide/teloxide into doc_types 2019-12-12 00:40:46 +06:00
Temirkhan Myrzamadi
3d4626d2aa Fix the docs of input_file.rs 2019-12-12 00:40:28 +06:00
Temirkhan Myrzamadi
6766ae3137
Update src/types/message.rs
Co-Authored-By: Waffle Lapkin <waffle.lapkin@gmail.com>
2019-12-12 00:36:36 +06:00
Temirkhan Myrzamadi
999928787d Merge branch 'doc_types' of https://github.com/teloxide/teloxide into doc_types 2019-12-12 00:31:03 +06:00
Temirkhan Myrzamadi
a4610ce8ff Use the docs of ParseMode 2019-12-12 00:30:13 +06:00
Temirkhan Myrzamadi
9e4f9e8392
Update src/types/message.rs
Co-Authored-By: Waffle Lapkin <waffle.lapkin@gmail.com>
2019-12-12 00:22:33 +06:00
Temirkhan Myrzamadi
082a916e40 Remove unnecessary 'Optional' in docs 2019-12-12 00:18:05 +06:00
Temirkhan Myrzamadi
32e970148e Use the nice crate:🅰️🅱️:c syntax in docs 2019-12-12 00:07:50 +06:00
Temirkhan Myrzamadi
fc4a1dff9e Fix the Clippy's warning 2019-12-11 22:27:42 +06:00
Temirkhan Myrzamadi
80fb280f2a Fix the docs of the API types 2019-12-11 22:19:48 +06:00
Temirkhan Myrzamadi
7444d016f1
Create CODE_STYLE.md
Related to https://github.com/teloxide/teloxide/issues/55.
2019-12-09 20:41:19 +06:00
Temirkhan Myrzamadi
586d7eced7
Merge pull request #89 from teloxide/ci-badge-in-readme
Switch ci-badge from travis to github-actions
2019-12-08 13:12:48 +06:00
Waffle Lapkin
4c55735780
Update README.md 2019-12-08 09:57:53 +03:00
Waffle Lapkin
ede6af4611
Merge branch 'dev' into ci-badge-in-readme 2019-12-08 09:57:11 +03:00
Temirkhan Myrzamadi
7bc4c2a0ac
Merge pull request #88 from teloxide/rename-to-teloxide
Rename the lib to "teloxide"
2019-12-08 12:52:35 +06:00
Waffle Lapkin
821574e6de
Switch ci-badge from travis to github-actions
Switch ci-badge in `README.md` from travis to github-actions
2019-12-08 01:06:04 +03:00
Waffle
7b3c51ff1b Rename the lib to "teloxide" 2019-12-07 22:30:15 +03:00
Temirkhan Myrzamadi
c2677929f1
Merge pull request #84 from teloxide/requests_rewrite
Requests rewrite
2019-12-08 00:55:44 +06:00