My personal telegram bot in rust

Overview

perorustbot v0.1.2-dev

Description

My personal telegram bot in rust

Setting up your environment

  1. Download Rust.
  2. Create a new bot using @Botfather to get a token in the format 123456789:blablabla.
  3. Initialise the TELOXIDE_TOKEN environmental variable to your token:
# Unix-like
$ export TELOXIDE_TOKEN=<Your token here>

# Windows
$ set TELOXIDE_TOKEN=<Your token here>
  1. Make sure that your Rust compiler is up to date:
# If you're using stable
$ rustup update stable
$ rustup override set stable

# If you're using nightly
$ rustup update nightly
$ rustup override set nightly

Installation

  1. Build manually (recommended)
$ git clone https://github.com/PeroSar/perorustbot
$ cd perorustbot
$ # edit src/plugins/sudo.rs and replace my telegram id with yours
$ cargo run --release
  1. from crates.io
$ cargo install perorustbot
$ # make sure you have ~/.cargo/bin/ in your PATH
$ perorustbot

list of commands

  • say
  • start
  • help (list of all commands)
  • ping
  • ipi (soon)
  • follow (soon)
  • cs (corona stats)
  • ani (anime info)
  • ctid (chat id, your id, replied users id)
  • udi (urban dict)
  • upload
  • paste

This bot can be found at https://t.me/Pero_Rust_Bot

Comments
  • Bump teloxide from 0.5.3 to 0.7.0

    Bump teloxide from 0.5.3 to 0.7.0

    Bumps teloxide from 0.5.3 to 0.7.0.

    Release notes

    Sourced from teloxide's releases.

    v0.7.0

    CHANGELOG

    v0.6.1

    CHANGELOG

    v0.6.0

    CHANGELOG

    Changelog

    Sourced from teloxide's changelog.

    0.7.0 - 2022-02-09

    Fixed

    • Dispatcher wasn't Send. Make DispatcherBuilder::{default_handler, error_handler} accept a handler that implements Send + Sync (PR 517).

    0.6.1 - 2022-02-06

    Fixed

    • docs.rs documentation build

    0.6.0 - 2022-02-06

    Added

    • BotCommand::bot_commands to obtain Telegram API commands (issue 262).
    • The dispatching2 and prelude2 modules. They presents a new dispatching model based on dptree.

    Changed

    • Require that AsUpdateStream::Stream is Send.
    • Restrict a user crate by CARGO_CRATE_NAME instead of CARGO_PKG_NAME in enable_logging! and enable_logging_with_filter!.
    • Updated teloxide-core to v0.4.0, see its changelog.

    Deprecated

    • The dispatching and prelude modules.

    Fixed

    • Infinite retries while stopping polling listener (issue 496)
    • polling{,_default} and it's Stream and StopToken not being Send (and by extension fix the same problem with repls)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 24
  • Bump tokio from 1.17.0 to 1.18.0

    Bump tokio from 1.17.0 to 1.18.0

    Bumps tokio from 1.17.0 to 1.18.0.

    Release notes

    Sourced from tokio's releases.

    Tokio v1.18.0

    1.18.0 (April 27, 2022)

    This release adds a number of new APIs in tokio::net, tokio::signal, and tokio::sync. In addition, it adds new unstable APIs to tokio::task (Ids for uniquely identifying a task, and AbortHandle for remotely cancelling a task), as well as a number of bugfixes.

    Fixed

    • blocking: add missing #[track_caller] for spawn_blocking (#4616)
    • macros: fix select macro to process 64 branches (#4519)
    • net: fix try_io methods not calling Mio's try_io internally (#4582)
    • runtime: recover when OS fails to spawn a new thread (#4485)

    Added

    • macros: support setting a custom crate name for #[tokio::main] and #[tokio::test] (#4613)
    • net: add UdpSocket::peer_addr (#4611)
    • net: add try_read_buf method for named pipes (#4626)
    • signal: add SignalKind Hash/Eq impls and c_int conversion (#4540)
    • signal: add support for signals up to SIGRTMAX (#4555)
    • sync: add watch::Sender::send_modify method (#4310)
    • sync: add broadcast::Receiver::len method (#4542)
    • sync: add watch::Receiver::same_channel method (#4581)
    • sync: implement Clone for RecvError types (#4560)

    Changed

    • update mio to 0.8.1 (#4582)
    • macros: rename tokio::select!'s internal util module (#4543)
    • runtime: use Vec::with_capacity when building runtime (#4553)

    Documented

    • improve docs for tokio_unstable (#4524)
    • runtime: include more documentation for thread_pool/worker (#4511)
    • runtime: update Handle::current's docs to mention EnterGuard (#4567)
    • time: clarify platform specific timer resolution (#4474)
    • signal: document that Signal::recv is cancel-safe (#4634)
    • sync: UnboundedReceiver close docs (#4548)

    Unstable

    The following changes only apply when building with --cfg tokio_unstable:

    • task: add task::Id type (#4630)
    • task: add AbortHandle type for cancelling tasks in a JoinSet (#4530],

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 5
  • Bump teloxide from 0.7.2 to 0.11.0

    Bump teloxide from 0.7.2 to 0.11.0

    Bumps teloxide from 0.7.2 to 0.11.0.

    Release notes

    Sourced from teloxide's releases.

    v0.11.0

    CHANGELOG

    v0.10.1

    CHANGELOG

    v0.10.0

    CHANGELOG

    v0.9.2

    CHANGELOG

    v0.9.1

    CHANGELOG

    v0.9.0

    CHANGELOG

    v0.8.2

    CHANGELOG

    v0.8.1

    CHANGELOG

    v0.8.0

    CHANGELOG

    v0.7.3

    CHANGELOG

    Changelog

    Sourced from teloxide's changelog.

    0.11.0 - 2022-10-07

    Changed

    • Updated teloxide-macros to v0.7.0; see its changelog for more
    • Updated teloxide-core to v0.8.0; see its changelog for more
    • UpdateListener now has an associated type Err instead of a generic
    • AsUpdateStream now has an associated type StreamErr instead of a generic
    • Rename dispatching::stop_token::{AsyncStopToken, AsyncStopFlag} => stop::{StopToken, StopFlag}
    • Replace the generic error type E with RequestError for REPLs (repl(_with_listener), commands_repl(_with_listener))
    • The following functions are now #[must_use]:
      • BotCommands::ty.
      • CommandDescriptions::{new, global_description, username, username_from_me}.
      • teloxide::filter_command.
      • teloxide::dispatching::dialogue::enter.
    • BotCommands::parse now accept bot_username as &str

    Added

    • requests::ResponseResult to prelude

    Removed

    • dispatching::stop_token::StopToken trait (all uses are replaced with stop::StopToken structure)
    • Some previously deprecated items
      • enable_logging!, enable_logging_with_filter!
      • HandlerFactory, HandlerExt::dispatch_by

    0.10.1 - 2022-07-22

    Fixed

    • Mark the following functions with #[must_use] (PR 457):
      • TraceStorage::into_inner.
      • AsyncStopToken::new_pair.
      • AsyncStopFlag::is_stopped.
      • All from crate::utils::{html, markdown}.
    • Rendering of GIFs in lib.rs and crates.io (PR 681).

    0.10.0 - 2022-07-21

    Added

    • Security checks based on secret_token param of set_webhook to built-in webhooks.
    • dispatching::update_listeners::{PollingBuilder, Polling, PollingStream}.
    • DispatcherBuilder::enable_ctrlc_handler method.

    Fixed

    • Dispatcher no longer "leaks" memory for every inactive user (PR 657).

    ... (truncated)

    Commits
    • 4a32963 Merge pull request #738 from teloxide/dev
    • e5ee52d Merge pull request #736 from teloxide/v0.11.0
    • cfc0776 Merge branch 'dev' into v0.11.0
    • 5bed819 Update MSRV in README.md
    • 6cacaf9 Merge pull request #737 from teloxide/master
    • 4e56dd2 Release v0.11.0
    • 8fb31ff Merge pull request #726 from teloxide/migration_guide_start
    • d690709 Apply a review suggestion
    • 97e2cb0 Merge pull request #735 from teloxide/consistent-naming
    • 60f0cd1 Use \<code>teloxide\</code> in README.md
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 4
  • Bump tokio from 1.16.1 to 1.17.0

    Bump tokio from 1.16.1 to 1.17.0

    Bumps tokio from 1.16.1 to 1.17.0.

    Release notes

    Sourced from tokio's releases.

    Tokio v1.17.0

    1.17.0 (February 15, 2022)

    This release updates the minimum supported Rust version (MSRV) to 1.49, the mio dependency to v0.8, and the (optional) parking_lot dependency to v0.12. Additionally, it contains several bug fixes, as well as internal refactoring and performance improvements.

    Fixed

    • time: prevent panicking in sleep with large durations (#4495)
    • time: eliminate potential panics in Instant arithmetic on platforms where Instant::now is not monotonic (#4461)
    • io: fix DuplexStream not participating in cooperative yielding (#4478)
    • rt: fix potential double panic when dropping a JoinHandle (#4430)

    Changed

    • update minimum supported Rust version to 1.49 (#4457)
    • update parking_lot dependency to v0.12.0 (#4459)
    • update mio dependency to v0.8 (#4449)
    • rt: remove an unnecessary lock in the blocking pool (#4436)
    • rt: remove an unnecessary enum in the basic scheduler (#4462)
    • time: use bit manipulation instead of modulo to improve performance (#4480)
    • net: use std::future::Ready instead of our own Ready future (#4271)
    • replace deprecated atomic::spin_loop_hint with hint::spin_loop (#4491)
    • fix miri failures in intrusive linked lists (#4397)

    Documented

    • io: add an example for tokio::process::ChildStdin (#4479)

    Unstable

    The following changes only apply when building with --cfg tokio_unstable:

    • task: fix missing location information in tracing spans generated by spawn_local (#4483)
    • task: add JoinSet for managing sets of tasks (#4335)
    • metrics: fix compilation error on MIPS (#4475)
    • metrics: fix compilation error on arm32v7 (#4453)

    #4495: tokio-rs/tokio#4495 #4461: tokio-rs/tokio#4461 #4478: tokio-rs/tokio#4478

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • Bump serde_json from 1.0.80 to 1.0.89

    Bump serde_json from 1.0.80 to 1.0.89

    Bumps serde_json from 1.0.80 to 1.0.89.

    Release notes

    Sourced from serde_json's releases.

    v1.0.89

    • Fix invalid JSON incorrectly accepted when a large number has no digits after decimal point (#953)

    v1.0.88

    • Optimize serde_json::Map's implementation of append and clone_from (#952, thanks @​Lucretiel)

    v1.0.87

    • Add write_i128 and write_u128 methods to serde_json::Formatter to control the formatting of 128-bit integers (#940, thanks @​Lucretiel)

    v1.0.86

    • Support arbitrary_precision feature even in no-std mode (#928, thanks @​kvinwang)

    v1.0.85

    • Make Display for Number produce the same representation as serializing (#919)

    v1.0.84

    • Make Debug impl of serde_json::Value more compact (#918)

    v1.0.83

    • Add categories to crates.io metadata

    v1.0.82

    • Implement From<Option<T>> for serde_json::Value where T: Into<Value> (#900, thanks @​kvnvelasco)

    v1.0.81

    • Work around indexmap/autocfg not always properly detecting whether a std sysroot crate is available (#885, thanks @​cuviper)
    Commits
    • d2f9368 Release 1.0.89
    • 0b89836 Merge pull request #956 from dtolnay/decimal
    • 9d94e92 Require at least one digit after decimal point
    • c27b023 Add regression test for issue 953
    • 586fefb Resolve semicolon_if_nothing_returned pedantic clippy lint
    • 9eb66da Release 1.0.88
    • 057957c Merge pull request #952 from Lucretiel/map-traits
    • 3347248 Add clone_from to Map; Map::append now uses IndexMap::extend
    • ca41bdd Update ui test suite to nightly-2022-11-16
    • 4f194c9 Resolve needless_borrow pedantic clippy lint in test
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump serde_json from 1.0.80 to 1.0.88

    Bump serde_json from 1.0.80 to 1.0.88

    Bumps serde_json from 1.0.80 to 1.0.88.

    Release notes

    Sourced from serde_json's releases.

    v1.0.88

    • Optimize serde_json::Map's implementation of append and clone_from (#952, thanks @​Lucretiel)

    v1.0.87

    • Add write_i128 and write_u128 methods to serde_json::Formatter to control the formatting of 128-bit integers (#940, thanks @​Lucretiel)

    v1.0.86

    • Support arbitrary_precision feature even in no-std mode (#928, thanks @​kvinwang)

    v1.0.85

    • Make Display for Number produce the same representation as serializing (#919)

    v1.0.84

    • Make Debug impl of serde_json::Value more compact (#918)

    v1.0.83

    • Add categories to crates.io metadata

    v1.0.82

    • Implement From<Option<T>> for serde_json::Value where T: Into<Value> (#900, thanks @​kvnvelasco)

    v1.0.81

    • Work around indexmap/autocfg not always properly detecting whether a std sysroot crate is available (#885, thanks @​cuviper)
    Commits
    • 9eb66da Release 1.0.88
    • 057957c Merge pull request #952 from Lucretiel/map-traits
    • 3347248 Add clone_from to Map; Map::append now uses IndexMap::extend
    • ca41bdd Update ui test suite to nightly-2022-11-16
    • 4f194c9 Resolve needless_borrow pedantic clippy lint in test
    • 993e7a6 Release 1.0.87
    • 3107034 Eliminate needless 'tri!' from Serializer impl
    • 46c9778 Merge pull request #942 from serde-rs/integer128
    • 37e76e0 Assume serde_if_integer128 is true
    • ec0456a Use existing macros to implement 128-bit From impls
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump tokio from 1.18.1 to 1.22.0

    Bump tokio from 1.18.1 to 1.22.0

    Bumps tokio from 1.18.1 to 1.22.0.

    Release notes

    Sourced from tokio's releases.

    Tokio v1.22.0

    Added

    • runtime: add Handle::runtime_flavor (#5138)
    • sync: add Mutex::blocking_lock_owned (#5130)
    • sync: add Semaphore::MAX_PERMITS (#5144)
    • sync: add merge() to semaphore permits (#4948)
    • sync: add mpsc::WeakUnboundedSender (#5189)

    Added (unstable)

    • process: add Command::process_group (#5114)
    • runtime: export metrics about the blocking thread pool (#5161)
    • task: add task::id() and task::try_id() (#5171)

    Fixed

    • macros: don't take ownership of futures in macros (#5087)
    • runtime: fix Stacked Borrows violation in LocalOwnedTasks (#5099)
    • runtime: mitigate ABA with 32-bit queue indices when possible (#5042)
    • task: wake local tasks to the local queue when woken by the same thread (#5095)
    • time: panic in release mode when mark_pending called illegally (#5093)
    • runtime: fix typo in expect message (#5169)
    • runtime: fix unsync_load on atomic types (#5175)
    • task: elaborate safety comments in task deallocation (#5172)
    • runtime: fix LocalSet drop in thread local (#5179)
    • net: remove libc type leakage in a public API (#5191)
    • runtime: update the alignment of CachePadded (#5106)

    Changed

    • io: make tokio::io::copy continue filling the buffer when writer stalls (#5066)
    • runtime: remove coop::budget from LocalSet::run_until (#5155)
    • sync: make Notify panic safe (#5154)

    Documented

    • io: fix doc for write_i8 to use signed integers (#5040)
    • net: fix doc typos for TCP and UDP set_tos methods (#5073)
    • net: fix function name in UdpSocket::recv documentation (#5150)
    • sync: typo in TryLockError for RwLock::try_write (#5160)
    • task: document that spawned tasks execute immediately (#5117)
    • time: document return type of timeout (#5118)
    • time: document that timeout checks only before poll (#5126)
    • sync: specify return type of oneshot::Receiver in docs (#5198)

    Internal changes

    • runtime: use const Mutex::new for globals (#5061)
    • runtime: remove Option around mio::Events in io driver (#5078)
    • runtime: remove a conditional compilation clause (#5104)
    • runtime: remove a reference to internal time handle (#5107)
    • runtime: misc time driver cleanup (#5120)
    • runtime: move signal driver to runtime module (#5121)
    • runtime: signal driver now uses I/O driver directly (#5125)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump teloxide from 0.7.2 to 0.11.2

    Bump teloxide from 0.7.2 to 0.11.2

    Bumps teloxide from 0.7.2 to 0.11.2.

    Release notes

    Sourced from teloxide's releases.

    v0.11.2

    CHANGELOG

    v0.11.1

    CHANGELOG

    v0.11.0

    CHANGELOG

    v0.10.1

    CHANGELOG

    v0.10.0

    CHANGELOG

    v0.9.2

    CHANGELOG

    v0.9.1

    CHANGELOG

    v0.9.0

    CHANGELOG

    v0.8.2

    CHANGELOG

    v0.8.1

    CHANGELOG

    v0.8.0

    CHANGELOG

    v0.7.3

    CHANGELOG

    Changelog

    Sourced from teloxide's changelog.

    0.11.2 - 2022-11-18

    Fixed

    0.11.1 - 2022-10-31 [yanked]

    This release was yanked because it accidentally breaks backwards compatibility.

    Added

    Deprecated

    • teloxide::dispatching::repls::{commands_repl, commands_repl_with_listener}, teloxide::utils::command::BotCommands::ty (use CommandReplExt instead)

    0.11.0 - 2022-10-07

    Changed

    • Updated teloxide-macros to v0.7.0; see its changelog for more
    • Updated teloxide-core to v0.8.0; see its changelog for more
    • UpdateListener now has an associated type Err instead of a generic
    • AsUpdateStream now has an associated type StreamErr instead of a generic
    • Rename dispatching::stop_token::{AsyncStopToken, AsyncStopFlag} => stop::{StopToken, StopFlag}
    • Replace the generic error type E with RequestError for REPLs (repl(_with_listener), commands_repl(_with_listener))
    • The following functions are now #[must_use]:
      • BotCommands::ty.
      • CommandDescriptions::{new, global_description, username, username_from_me}.
      • teloxide::filter_command.
      • teloxide::dispatching::dialogue::enter.
    • BotCommands::parse now accept bot_username as &str

    Added

    • requests::ResponseResult to prelude

    Removed

    • dispatching::stop_token::StopToken trait (all uses are replaced with stop::StopToken structure)
    • Some previously deprecated items
      • enable_logging!, enable_logging_with_filter!
      • HandlerFactory, HandlerExt::dispatch_by

    0.10.1 - 2022-07-22

    Fixed

    ... (truncated)

    Commits
    • c1c71c5 Merge pull request #771 from Turbo87/fix-feature-gate
    • e4e741a Release teloxide v0.11.2
    • ec4876d Add missing feature gate for dispatching::repls import
    • 2c52e2a Merge pull request #758 from teloxide/dev
    • 9d37ee0 Merge pull request #757 from teloxide/release-v0.11.1
    • 48946f3 Fix the version header (CHANGELOG.md)
    • 727a604 Update the migration guide version
    • 6d105d3 Release v0.11.1
    • 6846b74 Merge pull request #756 from teloxide/update-readme
    • e934202 Merge pull request #755 from teloxide/migration_guide_fixes
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump teloxide from 0.7.2 to 0.11.1

    Bump teloxide from 0.7.2 to 0.11.1

    Bumps teloxide from 0.7.2 to 0.11.1.

    Release notes

    Sourced from teloxide's releases.

    v0.11.1

    CHANGELOG

    v0.11.0

    CHANGELOG

    v0.10.1

    CHANGELOG

    v0.10.0

    CHANGELOG

    v0.9.2

    CHANGELOG

    v0.9.1

    CHANGELOG

    v0.9.0

    CHANGELOG

    v0.8.2

    CHANGELOG

    v0.8.1

    CHANGELOG

    v0.8.0

    CHANGELOG

    v0.7.3

    CHANGELOG

    Changelog

    Sourced from teloxide's changelog.

    0.11.1 - 2022-10-31

    Added

    Deprecated

    • teloxide::dispatching::repls::{commands_repl, commands_repl_with_listener}, teloxide::utils::command::BotCommands::ty (use CommandReplExt instead)

    0.11.0 - 2022-10-07

    Changed

    • Updated teloxide-macros to v0.7.0; see its changelog for more
    • Updated teloxide-core to v0.8.0; see its changelog for more
    • UpdateListener now has an associated type Err instead of a generic
    • AsUpdateStream now has an associated type StreamErr instead of a generic
    • Rename dispatching::stop_token::{AsyncStopToken, AsyncStopFlag} => stop::{StopToken, StopFlag}
    • Replace the generic error type E with RequestError for REPLs (repl(_with_listener), commands_repl(_with_listener))
    • The following functions are now #[must_use]:
      • BotCommands::ty.
      • CommandDescriptions::{new, global_description, username, username_from_me}.
      • teloxide::filter_command.
      • teloxide::dispatching::dialogue::enter.
    • BotCommands::parse now accept bot_username as &str

    Added

    • requests::ResponseResult to prelude

    Removed

    • dispatching::stop_token::StopToken trait (all uses are replaced with stop::StopToken structure)
    • Some previously deprecated items
      • enable_logging!, enable_logging_with_filter!
      • HandlerFactory, HandlerExt::dispatch_by

    0.10.1 - 2022-07-22

    Fixed

    • Mark the following functions with #[must_use] (PR 457):
      • TraceStorage::into_inner.
      • AsyncStopToken::new_pair.
      • AsyncStopFlag::is_stopped.
      • All from crate::utils::{html, markdown}.
    • Rendering of GIFs in lib.rs and crates.io (PR 681).

    ... (truncated)

    Commits
    • 637dcb0 Merge pull request #758 from teloxide/dev
    • 42fc655 Merge pull request #757 from teloxide/release-v0.11.1
    • bce24fd Fix the version header (CHANGELOG.md)
    • 08d2e4f Update the migration guide version
    • b97c2c6 Release v0.11.1
    • 3fd356e Merge pull request #756 from teloxide/update-readme
    • c9278e2 Merge pull request #755 from teloxide/migration_guide_fixes
    • 69d86d9 Don't list the auto-send feature in README.md
    • b2a4073 Merge pull request #754 from teloxide/document-rocksdb-feature
    • 7287ffe Add stop token changes to the migration guide
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump serde_json from 1.0.80 to 1.0.87

    Bump serde_json from 1.0.80 to 1.0.87

    Bumps serde_json from 1.0.80 to 1.0.87.

    Release notes

    Sourced from serde_json's releases.

    v1.0.87

    • Add write_i128 and write_u128 methods to serde_json::Formatter to control the formatting of 128-bit integers (#940, thanks @​Lucretiel)

    v1.0.86

    • Support arbitrary_precision feature even in no-std mode (#928, thanks @​kvinwang)

    v1.0.85

    • Make Display for Number produce the same representation as serializing (#919)

    v1.0.84

    • Make Debug impl of serde_json::Value more compact (#918)

    v1.0.83

    • Add categories to crates.io metadata

    v1.0.82

    • Implement From<Option<T>> for serde_json::Value where T: Into<Value> (#900, thanks @​kvnvelasco)

    v1.0.81

    • Work around indexmap/autocfg not always properly detecting whether a std sysroot crate is available (#885, thanks @​cuviper)
    Commits
    • 993e7a6 Release 1.0.87
    • 3107034 Eliminate needless 'tri!' from Serializer impl
    • 46c9778 Merge pull request #942 from serde-rs/integer128
    • 37e76e0 Assume serde_if_integer128 is true
    • ec0456a Use existing macros to implement 128-bit From impls
    • c183125 Merge pull request #941 from serde-rs/alloc
    • ab0f884 Delete 1.36+ caveat from descriptions of alloc feature
    • 486598b Merge pull request 940 from Lucretiel/int128
    • 84d6d95 Add direct support for i128 and u128 via itoa
    • 4217e8e Release 1.0.86
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump serde_json from 1.0.80 to 1.0.86

    Bump serde_json from 1.0.80 to 1.0.86

    Bumps serde_json from 1.0.80 to 1.0.86.

    Release notes

    Sourced from serde_json's releases.

    v1.0.86

    • Support arbitrary_precision feature even in no-std mode (#928, thanks @​kvinwang)

    v1.0.85

    • Make Display for Number produce the same representation as serializing (#919)

    v1.0.84

    • Make Debug impl of serde_json::Value more compact (#918)

    v1.0.83

    • Add categories to crates.io metadata

    v1.0.82

    • Implement From<Option<T>> for serde_json::Value where T: Into<Value> (#900, thanks @​kvnvelasco)

    v1.0.81

    • Work around indexmap/autocfg not always properly detecting whether a std sysroot crate is available (#885, thanks @​cuviper)
    Commits
    • 4217e8e Release 1.0.86
    • 99d6164 Reorganize number.rs imports
    • 8ab65c5 Add a CI build for arbitrary precision without std
    • 54f9685 Merge pull request #928 from kvinwang/nostd-arbp
    • 94019a3 Remove default package.readme metadata from Cargo.toml
    • ec72b27 arbitrary_precision without std
    • d64ffdc GitHub Workflows security hardening
    • 9af8517 Resolve manual_string_new pedantic clippy lint in test
    • 7af05a9 Resolve needless_borrow clippy lints
    • 5f801ea Ignore using destructuring assignment to wildcard pattern
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump serde_json from 1.0.80 to 1.0.91

    Bump serde_json from 1.0.80 to 1.0.91

    Bumps serde_json from 1.0.80 to 1.0.91.

    Release notes

    Sourced from serde_json's releases.

    v1.0.90

    • Documentation improvements

    v1.0.89

    • Fix invalid JSON incorrectly accepted when a large number has no digits after decimal point (#953)

    v1.0.88

    • Optimize serde_json::Map's implementation of append and clone_from (#952, thanks @​Lucretiel)

    v1.0.87

    • Add write_i128 and write_u128 methods to serde_json::Formatter to control the formatting of 128-bit integers (#940, thanks @​Lucretiel)

    v1.0.86

    • Support arbitrary_precision feature even in no-std mode (#928, thanks @​kvinwang)

    v1.0.85

    • Make Display for Number produce the same representation as serializing (#919)

    v1.0.84

    • Make Debug impl of serde_json::Value more compact (#918)

    v1.0.83

    • Add categories to crates.io metadata

    v1.0.82

    • Implement From<Option<T>> for serde_json::Value where T: Into<Value> (#900, thanks @​kvnvelasco)

    v1.0.81

    • Work around indexmap/autocfg not always properly detecting whether a std sysroot crate is available (#885, thanks @​cuviper)
    Commits
    • 26f147f Release 1.0.91
    • d9cdb98 Opt out -Zrustdoc-scrape-examples on docs.rs
    • 331511d Release 1.0.90
    • 8753829 Replace ancient CI service provider in readme
    • 0a43394 Update build status badge
    • 8794844 Prevent build.rs rerunning unnecessarily on all source changes
    • 0b54871 Time out workflows after 45 minutes
    • ecad462 Fix renamed let_underscore_drop lint
    • 9295c96 Resolve needless_borrowed_reference clippy lints
    • d2f9368 Release 1.0.89
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • Bump tokio from 1.18.1 to 1.23.0

    Bump tokio from 1.18.1 to 1.23.0

    Bumps tokio from 1.18.1 to 1.23.0.

    Release notes

    Sourced from tokio's releases.

    Tokio v1.23.0

    Fixed

    • net: fix Windows named pipe connect (#5208)
    • io: support vectored writes for ChildStdin (#5216)
    • io: fix async fn ready() false positive for OS-specific events (#5231)

    Changed

    • runtime: yield_now defers task until after driver poll (#5223)
    • runtime: reduce amount of codegen needed per spawned task (#5213)
    • windows: replace winapi dependency with windows-sys (#5204)

    #5208: tokio-rs/tokio#5208 #5216: tokio-rs/tokio#5216 #5213: tokio-rs/tokio#5213 #5204: tokio-rs/tokio#5204 #5223: tokio-rs/tokio#5223 #5231: tokio-rs/tokio#5231

    Tokio v1.22.0

    Added

    • runtime: add Handle::runtime_flavor (#5138)
    • sync: add Mutex::blocking_lock_owned (#5130)
    • sync: add Semaphore::MAX_PERMITS (#5144)
    • sync: add merge() to semaphore permits (#4948)
    • sync: add mpsc::WeakUnboundedSender (#5189)

    Added (unstable)

    • process: add Command::process_group (#5114)
    • runtime: export metrics about the blocking thread pool (#5161)
    • task: add task::id() and task::try_id() (#5171)

    Fixed

    • macros: don't take ownership of futures in macros (#5087)
    • runtime: fix Stacked Borrows violation in LocalOwnedTasks (#5099)
    • runtime: mitigate ABA with 32-bit queue indices when possible (#5042)
    • task: wake local tasks to the local queue when woken by the same thread (#5095)
    • time: panic in release mode when mark_pending called illegally (#5093)
    • runtime: fix typo in expect message (#5169)
    • runtime: fix unsync_load on atomic types (#5175)
    • task: elaborate safety comments in task deallocation (#5172)
    • runtime: fix LocalSet drop in thread local (#5179)
    • net: remove libc type leakage in a public API (#5191)
    • runtime: update the alignment of CachePadded (#5106)

    Changed

    • io: make tokio::io::copy continue filling the buffer when writer stalls (#5066)
    • runtime: remove coop::budget from LocalSet::run_until (#5155)
    • sync: make Notify panic safe (#5154)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • Bump teloxide from 0.7.2 to 0.11.3

    Bump teloxide from 0.7.2 to 0.11.3

    Bumps teloxide from 0.7.2 to 0.11.3.

    Release notes

    Sourced from teloxide's releases.

    v0.11.3

    CHANGELOG

    v0.11.2

    CHANGELOG

    v0.11.1

    CHANGELOG

    v0.11.0

    CHANGELOG

    v0.10.1

    CHANGELOG

    v0.10.0

    CHANGELOG

    v0.9.2

    CHANGELOG

    v0.9.1

    CHANGELOG

    v0.9.0

    CHANGELOG

    v0.8.2

    CHANGELOG

    v0.8.1

    CHANGELOG

    v0.8.0

    CHANGELOG

    v0.7.3

    CHANGELOG

    Changelog

    Sourced from teloxide's changelog.

    0.11.3 - 2022-11-28

    Fixed

    0.11.2 - 2022-11-18

    Fixed

    0.11.1 - 2022-10-31 [yanked]

    This release was yanked because it accidentally breaks backwards compatibility.

    Added

    Deprecated

    • teloxide::dispatching::repls::{commands_repl, commands_repl_with_listener}, teloxide::utils::command::BotCommands::ty (use CommandReplExt instead)

    0.11.0 - 2022-10-07

    Changed

    • Updated teloxide-macros to v0.7.0; see its changelog for more
    • Updated teloxide-core to v0.8.0; see its changelog for more
    • UpdateListener now has an associated type Err instead of a generic
    • AsUpdateStream now has an associated type StreamErr instead of a generic
    • Rename dispatching::stop_token::{AsyncStopToken, AsyncStopFlag} => stop::{StopToken, StopFlag}
    • Replace the generic error type E with RequestError for REPLs (repl(_with_listener), commands_repl(_with_listener))
    • The following functions are now #[must_use]:
      • BotCommands::ty.
      • CommandDescriptions::{new, global_description, username, username_from_me}.
      • teloxide::filter_command.
      • teloxide::dispatching::dialogue::enter.
    • BotCommands::parse now accept bot_username as &str

    Added

    • requests::ResponseResult to prelude

    Removed

    • dispatching::stop_token::StopToken trait (all uses are replaced with stop::StopToken structure)
    • Some previously deprecated items

    ... (truncated)

    Commits
    • ff1bf70 Merge pull request #776 from Turbo87/fix-feature-gate
    • 02398e3 Release teloxide v0.11.3
    • d50370a Fix unused ctrlc_handler warning
    • 4e00473 Revert "Merge branch 'dev'"
    • 6cc4b66 Revert "Revert "Merge pull request #771 from Turbo87/fix-feature-gate""
    • 815a0a4 Revert "Merge pull request #771 from Turbo87/fix-feature-gate"
    • 437404d Check the CI with no default features
    • 4e2ebdc Merge branch 'dev'
    • 3184b29 prelude: Add missing feature gate for dispatching::repls import
    • c1c71c5 Merge pull request #771 from Turbo87/fix-feature-gate
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • Bump reqwest from 0.11.10 to 0.11.13

    Bump reqwest from 0.11.10 to 0.11.13

    Bumps reqwest from 0.11.10 to 0.11.13.

    Release notes

    Sourced from reqwest's releases.

    v0.11.13

    What's Changed

    • Add ClientBuilder::dns_resolver() option for custom DNS resolvers.
    • Add ClientBuilder::tls_sni(bool) option to enable or disable TLS Server Name Indication.
    • Add Identity::from_pkcs8_pem() constructor when using native-tls.
    • Fix redirect::Policy::limited(0) from following any redirects.

    New Contributors

    v0.11.12

    What's Changed

    • Add ClientBuilder::resolve_to_addrs() which allows a slice of IP addresses to be specified for a single host.
    • Add Response::upgrade() to await whether the server agrees to an HTTP upgrade.

    New Contributors ❤️

    v0.11.11

    What's Changed

    • Add HTTP/2 keep-alive configuration methods on ClientBuilder.
    • Add ClientBuilder::http1_allow_obsolete_multiline_headers_in_responses().
    • Add impl Service<Request> for Client and &'_ Client.
    • (wasm) Add RequestBuilder::basic_auth().
    • Fix RequestBuilder::header to not override sensitive if user explicitly set on a HeaderValue.
    • Fix rustls parsing of elliptic curve private keys.
    • Fix Proxy URL parsing of some invalid targets.

    New Contributors

    Changelog

    Sourced from reqwest's changelog.

    v0.11.13

    • Add ClientBuilder::dns_resolver() option for custom DNS resolvers.
    • Add ClientBuilder::tls_sni(bool) option to enable or disable TLS Server Name Indication.
    • Add Identity::from_pkcs8_pem() constructor when using native-tls.
    • Fix redirect::Policy::limited(0) from following any redirects.

    v0.11.12

    • Add ClientBuilder::resolve_to_addrs() which allows a slice of IP addresses to be specified for a single host.
    • Add Response::upgrade() to await whether the server agrees to an HTTP upgrade.

    v0.11.11

    • Add HTTP/2 keep-alive configuration methods on ClientBuilder.
    • Add ClientBuilder::http1_allow_obsolete_multiline_headers_in_responses().
    • Add impl Service<Request> for Client and &'_ Client.
    • (wasm) Add RequestBuilder::basic_auth().
    • Fix RequestBuilder::header to not override sensitive if user explicitly set on a HeaderValue.
    • Fix rustls parsing of elliptic curve private keys.
    • Fix Proxy URL parsing of some invalid targets.
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • Bump librustbin from 0.1.0 to 0.2.0

    Bump librustbin from 0.1.0 to 0.2.0

    Bumps librustbin from 0.1.0 to 0.2.0.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
Owner
println!("Pero Sar");
println!(
UnlimCloud provides unlimited cloud storage for your files, utilizing Telegram as the storage solution

UnlimCloud provides unlimited cloud storage for your files, utilizing Telegram as the storage solution. Simply log in using your Telegram ID, and you are good to go.

inulute 5 Nov 27, 2023
A GPT-powered daily newsletter bot, written in Rust

AI Newsie 1. Introduction Meet AI Newsie - your personalized GPT-powered bot that delivers daily newsletters tailored to your interests. The bot is po

null 5 May 7, 2023
Byte is a blazingly fast🚀 Discord Bot with a user-friendly design using twilight written in rust🦀.

Byte Byte is a blazingly fast?? Discord Bot with a user-friendly design using twilight written in rust??. How To Run There is a public version of the

TakoTheDev 3 Nov 15, 2023
My bot Roseline for AGTH hooks and VN related stuff

Roseline Web interface My IRC Bot to store AGTH hooks. Commands ping - Obviously send you back pong. vn <title> - Search VN by title. hook <title> - G

Douman 37 Nov 16, 2022
k-mer counter in Rust using the rust-bio and rayon crates

krust is a k-mer counter written in Rust and run from the command line that will output canonical k-mers and their frequency across the records in a f

null 14 Jan 7, 2023
Experimental Rust tool for generating FFI definitions allowing many other languages to call Rust code

Diplomat is an experimental Rust tool for generating FFI definitions allowing many other languages to call Rust code. With Diplomat, you can simply define Rust APIs to be exposed over FFI and get high-level C, C++, and JavaScript bindings automatically!

null 255 Dec 30, 2022
Aws-sdk-rust - AWS SDK for the Rust Programming Language

The AWS SDK for Rust This repo contains the new AWS SDK for Rust (the SDK) and its public roadmap. Please Note: The SDK is currently released as a dev

Amazon Web Services - Labs 2k Jan 3, 2023
Rust + Yew + Axum + Tauri, full-stack Rust development for Desktop apps.

rust-yew-axum-tauri-desktop template Rust + Yew + Axum + Tauri, full-stack Rust development for Desktop apps. Crates frontend: Yew frontend app for de

Jet Li 54 Dec 23, 2022
A lightning fast version of tmux-fingers written in Rust, copy/pasting tmux like vimium/vimperator

tmux-thumbs A lightning fast version of tmux-fingers written in Rust for copy pasting with vimium/vimperator like hints. Usage Press ( prefix + Space

Ferran Basora 598 Jan 2, 2023
A command-line tool collection to assist development written in RUST

dtool dtool is a command-line tool collection to assist development Table of Contents Description Usage Tips Installation Description Now dtool suppor

GB 314 Dec 18, 2022
Rust mid-level IR Abstract Interpreter

MIRAI MIRAI is an abstract interpreter for the Rust compiler's mid-level intermediate representation (MIR). It is intended to become a widely used sta

Facebook Experimental 793 Jan 2, 2023
Migrate C code to Rust

C2Rust helps you migrate C99-compliant code to Rust. The translator (or transpiler) produces unsafe Rust code that closely mirrors the input C code. T

Immunant 3k Jan 8, 2023
C to Rust translator

Corrode: Automatic semantics-preserving translation from C to Rust This program reads a C source file and prints an equivalent module in Rust syntax.

Jamey Sharp 2.1k Dec 14, 2022
Astronomical algorithms in Rust

astro-rust Contents API Docs About Usage Contributing References About astro-rust is a library of advanced astronomical algorithms for the Rust progra

Saurav Sachidanand 213 Jan 7, 2023
A Rust library for calculating sun positions

sun A rust port of the JS library suncalc. Install Add the following to your Cargo.toml [dependencies] sun = "0.2" Usage pub fn main() { let unixti

Markus Kohlhase 36 Dec 28, 2022
Macro for Python-esque comprehensions in Rust

Cute Macro for Python-esque list comprehensions in Rust. The c! macro implements list and hashmap comprehensions similar to those found in Python, all

Matt Gathu 306 Jan 6, 2023
Language Integrated Query in Rust.

Linq in Rust Language Integrated Query in Rust (created by declarative macros). Inspired by LINQ in .NET. What's LINQ This project is under developmen

StardustDL 91 Dec 8, 2022
A cross-platform serial port library in Rust.

Introduction serialport-rs is a general-purpose cross-platform serial port library for Rust. It provides a blocking I/O interface and port enumeration

Bryant Mairs 143 Nov 5, 2021
A Rust macro for writing regex pattern matching.

regexm A Rust macro for writing regex pattern matching.

Takayuki Maeda 46 Oct 24, 2022