Commit graph

4797 commits

Author SHA1 Message Date
Maybe Waffle
de77c51b19 Downgrade deps in CI to preserve MSRV 2024-03-21 15:52:57 +01:00
Maybe Waffle
b8c45110a3 Fix assorted warnings 2024-03-21 14:49:07 +01:00
Maybe Waffle
cedf223b0d update nightly 2024-03-21 14:49:07 +01:00
Maybe Waffle
d9c0fca407 Stop downgrading atomic-write-file in CI (we don't depend on it anymore) 2024-03-21 12:19:17 +01:00
dependabot[bot]
9a21961416
Bump the lock group with 33 updates
Bumps the lock group with 33 updates:

| Package | From | To |
| --- | --- | --- |
| [tokio-stream](https://github.com/tokio-rs/tokio) | `0.1.14` | `0.1.15` |
| [thiserror](https://github.com/dtolnay/thiserror) | `1.0.57` | `1.0.58` |
| [pin-project](https://github.com/taiki-e/pin-project) | `1.1.4` | `1.1.5` |
| [sqlx](https://github.com/launchbadge/sqlx) | `0.7.3` | `0.7.4` |
| [pretty_env_logger](https://github.com/seanmonstar/pretty-env-logger) | `0.4.0` | `0.5.0` |
| [reqwest](https://github.com/seanmonstar/reqwest) | `0.11.24` | `0.11.26` |
| [chrono](https://github.com/chronotope/chrono) | `0.4.34` | `0.4.35` |
| [bitflags](https://github.com/bitflags/bitflags) | `1.3.2` | `2.4.2` |
| [aho-corasick](https://github.com/BurntSushi/aho-corasick) | `0.7.20` | `1.1.2` |
| [itertools](https://github.com/rust-itertools/itertools) | `0.10.5` | `0.12.1` |
| [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.78` | `1.0.79` |
| [syn](https://github.com/dtolnay/syn) | `1.0.109` | `2.0.52` |
| [async-trait](https://github.com/dtolnay/async-trait) | `0.1.77` | `0.1.78` |
| [bumpalo](https://github.com/fitzgen/bumpalo) | `3.15.3` | `3.15.4` |
| [cc](https://github.com/rust-lang/cc-rs) | `1.0.88` | `1.0.90` |
| [h2](https://github.com/hyperium/h2) | `0.3.24` | `0.3.25` |
| [http](https://github.com/hyperium/http) | `0.2.11` | `0.2.12` |
| [js-sys](https://github.com/rustwasm/wasm-bindgen) | `0.3.68` | `0.3.69` |
| [pin-project-internal](https://github.com/taiki-e/pin-project) | `1.1.4` | `1.1.5` |
| [regex-automata](https://github.com/rust-lang/regex) | `0.4.5` | `0.4.6` |
| [serde_path_to_error](https://github.com/dtolnay/path-to-error) | `0.1.15` | `0.1.16` |
| [sqlx-core](https://github.com/launchbadge/sqlx) | `0.7.3` | `0.7.4` |
| [sqlx-macros](https://github.com/launchbadge/sqlx) | `0.7.3` | `0.7.4` |
| [sqlx-macros-core](https://github.com/launchbadge/sqlx) | `0.7.3` | `0.7.4` |
| [sqlx-sqlite](https://github.com/launchbadge/sqlx) | `0.7.3` | `0.7.4` |
| [thiserror-impl](https://github.com/dtolnay/thiserror) | `1.0.57` | `1.0.58` |
| [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen) | `0.2.91` | `0.2.92` |
| [wasm-bindgen-backend](https://github.com/rustwasm/wasm-bindgen) | `0.2.91` | `0.2.92` |
| [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen) | `0.4.41` | `0.4.42` |
| [wasm-bindgen-macro](https://github.com/rustwasm/wasm-bindgen) | `0.2.91` | `0.2.92` |
| [wasm-bindgen-macro-support](https://github.com/rustwasm/wasm-bindgen) | `0.2.91` | `0.2.92` |
| [wasm-bindgen-shared](https://github.com/rustwasm/wasm-bindgen) | `0.2.91` | `0.2.92` |
| [web-sys](https://github.com/rustwasm/wasm-bindgen) | `0.3.68` | `0.3.69` |


Updates `tokio-stream` from 0.1.14 to 0.1.15
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.14...tokio-stream-0.1.15)

Updates `thiserror` from 1.0.57 to 1.0.58
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.57...1.0.58)

Updates `pin-project` from 1.1.4 to 1.1.5
- [Release notes](https://github.com/taiki-e/pin-project/releases)
- [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/pin-project/compare/v1.1.4...v1.1.5)

Updates `sqlx` from 0.7.3 to 0.7.4
- [Changelog](https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md)
- [Commits](https://github.com/launchbadge/sqlx/compare/v0.7.3...v0.7.4)

Updates `pretty_env_logger` from 0.4.0 to 0.5.0
- [Commits](https://github.com/seanmonstar/pretty-env-logger/compare/v0.4.0...v0.5.0)

Updates `reqwest` from 0.11.24 to 0.11.26
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.24...v0.11.26)

Updates `chrono` from 0.4.34 to 0.4.35
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.34...v0.4.35)

Updates `bitflags` from 1.3.2 to 2.4.2
- [Release notes](https://github.com/bitflags/bitflags/releases)
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bitflags/bitflags/compare/1.3.2...2.4.2)

Updates `aho-corasick` from 0.7.20 to 1.1.2
- [Commits](https://github.com/BurntSushi/aho-corasick/compare/0.7.20...1.1.2)

Updates `itertools` from 0.10.5 to 0.12.1
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.10.5...v0.12.1)

Updates `proc-macro2` from 1.0.78 to 1.0.79
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.78...1.0.79)

Updates `syn` from 1.0.109 to 2.0.52
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.109...2.0.52)

Updates `async-trait` from 0.1.77 to 0.1.78
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.77...0.1.78)

Updates `bumpalo` from 3.15.3 to 3.15.4
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.15.3...3.15.4)

Updates `cc` from 1.0.88 to 1.0.90
- [Release notes](https://github.com/rust-lang/cc-rs/releases)
- [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.88...1.0.90)

Updates `h2` from 0.3.24 to 0.3.25
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.25/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.24...v0.3.25)

Updates `http` from 0.2.11 to 0.2.12
- [Release notes](https://github.com/hyperium/http/releases)
- [Changelog](https://github.com/hyperium/http/blob/v0.2.12/CHANGELOG.md)
- [Commits](https://github.com/hyperium/http/compare/v0.2.11...v0.2.12)

Updates `js-sys` from 0.3.68 to 0.3.69
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits)

Updates `pin-project-internal` from 1.1.4 to 1.1.5
- [Release notes](https://github.com/taiki-e/pin-project/releases)
- [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/pin-project/compare/v1.1.4...v1.1.5)

Updates `regex-automata` from 0.4.5 to 0.4.6
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/regex-automata-0.4.5...regex-automata-0.4.6)

Updates `serde_path_to_error` from 0.1.15 to 0.1.16
- [Release notes](https://github.com/dtolnay/path-to-error/releases)
- [Commits](https://github.com/dtolnay/path-to-error/compare/0.1.15...0.1.16)

Updates `sqlx-core` from 0.7.3 to 0.7.4
- [Changelog](https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md)
- [Commits](https://github.com/launchbadge/sqlx/compare/v0.7.3...v0.7.4)

Updates `sqlx-macros` from 0.7.3 to 0.7.4
- [Changelog](https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md)
- [Commits](https://github.com/launchbadge/sqlx/compare/v0.7.3...v0.7.4)

Updates `sqlx-macros-core` from 0.7.3 to 0.7.4
- [Changelog](https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md)
- [Commits](https://github.com/launchbadge/sqlx/compare/v0.7.3...v0.7.4)

Updates `sqlx-sqlite` from 0.7.3 to 0.7.4
- [Changelog](https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md)
- [Commits](https://github.com/launchbadge/sqlx/compare/v0.7.3...v0.7.4)

Updates `thiserror-impl` from 1.0.57 to 1.0.58
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.57...1.0.58)

Updates `wasm-bindgen` from 0.2.91 to 0.2.92
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.91...0.2.92)

Updates `wasm-bindgen-backend` from 0.2.91 to 0.2.92
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.91...0.2.92)

Updates `wasm-bindgen-futures` from 0.4.41 to 0.4.42
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits)

Updates `wasm-bindgen-macro` from 0.2.91 to 0.2.92
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.91...0.2.92)

Updates `wasm-bindgen-macro-support` from 0.2.91 to 0.2.92
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.91...0.2.92)

Updates `wasm-bindgen-shared` from 0.2.91 to 0.2.92
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.91...0.2.92)

Updates `web-sys` from 0.3.68 to 0.3.69
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases)
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits)

---
updated-dependencies:
- dependency-name: tokio-stream
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: pin-project
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: sqlx
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: pretty_env_logger
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: lock
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: chrono
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: bitflags
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: lock
- dependency-name: aho-corasick
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: lock
- dependency-name: itertools
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: lock
- dependency-name: proc-macro2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: lock
- dependency-name: async-trait
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: bumpalo
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: cc
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: h2
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: http
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: js-sys
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: pin-project-internal
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: regex-automata
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: serde_path_to_error
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: sqlx-core
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: sqlx-macros
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: sqlx-macros-core
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: sqlx-sqlite
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: thiserror-impl
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: wasm-bindgen
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: wasm-bindgen-backend
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: wasm-bindgen-futures
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: wasm-bindgen-macro
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: wasm-bindgen-macro-support
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: wasm-bindgen-shared
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
- dependency-name: web-sys
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: lock
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 09:02:44 +00:00
Waffle Maybe
60d092882f
Merge pull request #1005 from Henriquelay/master
Implement `GetChatId` for `teloxide-core::types::*`
2024-03-16 22:10:28 +00:00
Waffle Maybe
2510949c11
Merge pull request #1027 from teloxide/thnaks)yamnceei
Update dependabot.yml
2024-03-15 15:26:46 +00:00
Henriquelay
77909e04b0
Remove meaningless impls 2024-03-14 20:27:33 -03:00
Henriquelay
69874823d7
Remove useless impl, order diff 2024-03-14 20:27:33 -03:00
Henriquelay
301f5929ad
Remove impl GetChatId for UpdateKind 2024-03-14 20:27:33 -03:00
Henriquelay
24310df9b3
Implement GetChatId for teloxide-core::types::* 2024-03-14 20:27:33 -03:00
Waffle Maybe
5cf3736a3a
Update dependabot.yml 2024-03-14 21:05:18 +01:00
Waffle Maybe
139524d560
Merge pull request #1023 from teloxide/cargo-lock
Fix CI & make sure dependency auto updates can't fail CI
2024-03-13 17:16:38 +00:00
Maybe Waffle
2a02566b3e Configure dependabot to update Cargo.lock 2024-03-03 00:05:28 +01:00
Maybe Waffle
3566002c2d Fix CI (downgrade a dependency for MSRV build) 2024-03-02 23:30:15 +01:00
Maybe Waffle
ecb7ea563f Add Cargo.lock to git 2024-03-02 23:18:45 +01:00
Waffle Maybe
df59ceee24
Merge pull request #1018 from zenador/fix-gated-sqlite-storage-rustls
Fix app build errors when using items gated behind sqlite-storage with rustls
2024-02-24 22:34:29 +00:00
zenador
b6d33733e6 Fix app build errors when using items gated behind sqlite-storage with the feature sqlite-storage-rustls 2024-02-25 03:53:08 +08:00
Tima Kinsart
81a8fb18c3
Merge pull request #1017 from franciscofigueira/add-community-bot
Add franciscofigueira/transferBot to README.md
2024-02-21 19:55:52 +00:00
franciscofigueira
4710b8a740 Add franciscofigueira/transferBot to README.md 2024-02-21 14:28:50 +00:00
Tima Kinsart
507819ddb2
Merge branch 'master' into postgres_storage 2024-02-19 01:01:29 +08:00
Waffle Maybe
4adfcecef3
Merge pull request #1016 from msfjarvis/hs/trim-deps
crates: remove unused dependencies
2024-02-17 19:05:49 +00:00
Harsh Shandilya
4c0589ab39 crates: remove unused dependencies 2024-02-18 00:21:40 +05:30
Waffle Maybe
e1745ef0be
Merge pull request #997 from teloxide/distribution_fn_docs
Doc improvements & stuff
2024-02-15 21:10:03 +00:00
Tima Kinsart
8669c87f6f
Improve the style of CONTRIBUTING.md 2024-02-16 05:01:56 +08:00
Maybe Waffle
4ab24a0a0c Review changes to CONTRIBUTING.md 2024-02-15 21:41:26 +01:00
Maybe Waffle
c934e678f6 Expand on pull request & minor fixes to CONTRIBUTING.md 2024-02-14 20:59:02 +01:00
Tima Kinsart
042181baa8
Merge pull request #1013 from teloxide/remove-deprecated
Remove deprecated things
2024-02-14 09:10:11 +00:00
Maybe Waffle
d42d2b7812 Remove update_listeners::polling 2024-02-13 22:50:08 +01:00
Maybe Waffle
74b03664cf Fill-in deprecation version, remove useless allow 2024-02-13 22:15:36 +01:00
Maybe Waffle
6e176113cd Remove Message::chat_id, Update::user 2024-02-13 22:15:08 +01:00
Maybe Waffle
f4127325da Remove deprecated repl command stuff 2024-02-13 20:48:01 +01:00
Maybe Waffle
d7b954b1c6 Remove Dispatcher::setup_ctrlc_handler 2024-02-13 20:46:28 +01:00
Maybe Waffle
2e8b4cfa19 Remove moved modules 2024-02-13 20:44:32 +01:00
Maybe Waffle
b79c1f978d Remove InlineKeyboardButton::{text,kind} 2024-02-13 20:43:15 +01:00
Tima Kinsart
0a5f5026bd
Merge pull request #1011 from teloxide/readme-tutorials
Link Troy Köhler's tutorials
2024-02-13 19:42:29 +00:00
Maybe Waffle
11858ffb74 Remove deprecated chat member kind functions 2024-02-13 20:41:43 +01:00
Maybe Waffle
a69d0f1752 Fixup supported TBA version in docs 2024-02-13 20:36:36 +01:00
Maybe Waffle
e4f3ec78a2 Fix typos in changelog 2024-02-13 20:36:21 +01:00
Maybe Waffle
8bbe0ecf1a Remove auto send adaptor
It has become useless a while ago.
2024-02-13 20:27:16 +01:00
Waffle Maybe
d93249c856
Merge pull request #1012 from teloxide/moreautolabeling
Add more auto labeling to teloxidebot
2024-02-13 18:50:26 +00:00
Waffle Maybe
8c3aa66af5
Add more auto labeling to teloxidebot 2024-02-13 19:47:23 +01:00
Waffle Maybe
d5054e9ed6
Merge pull request #954 from TheAwiteb/master
Support for the TBA 6.5
2024-02-13 17:45:53 +00:00
Tima Kinsart
2a17e625fc
Link Troy Köhler's tutorials 2024-02-13 23:34:24 +08:00
Waffle Maybe
54a77dcc84
Merge pull request #1010 from teloxide/unbump-ahash
Pin ahash version
2024-02-13 15:31:04 +00:00
Maybe Waffle
199a9a8acc Pin ahash version 2024-02-13 14:33:48 +01:00
Waffle Maybe
6f0861f3f6
Merge pull request #998 from teloxide/tba-error
Replace `ApiError::NotFound` with `InvalidToken`
2024-02-10 02:36:39 +00:00
Maybe Waffle
8ffac3802c fixup clippy 2024-02-08 20:32:45 +01:00
Tima Kinsart
bfe9b94b87
Merge pull request #1000 from teloxide/issue-template-fix
Fixup issue template
2024-02-08 19:26:30 +00:00
TheAwiteb
423ef411a9
Update README.md
Update the telegram support badge version to 6.5
2024-02-06 08:50:15 +03:00