clearloop / leetcode-cli

May the code be with you đź‘»
MIT License
325 stars 54 forks source link

chore(dep): bump the deps group with 12 updates #150

Closed dependabot[bot] closed 6 months ago

dependabot[bot] commented 7 months ago

Bumps the deps group with 12 updates:

Package From To
async-trait 0.1.77 0.1.79
tokio 1.36.0 1.37.0
clap 4.5.1 4.5.4
env_logger 0.11.2 0.11.3
pyo3 0.20.3 0.21.1
serde_json 1.0.114 1.0.115
toml 0.8.10 0.8.12
regex 1.10.3 1.10.4
anyhow 1.0.80 1.0.81
thiserror 1.0.57 1.0.58
diesel 2.1.4 2.1.5
reqwest 0.11.24 0.12.2

Updates async-trait from 0.1.77 to 0.1.79

Release notes

Sourced from async-trait's releases.

0.1.79

  • Clean up some dead code

0.1.78

  • Prevent unused_qualifications lint being triggered in generated code in nightly-2024-03-05 and up (#260)
Commits
  • 1eb21ed Release 0.1.79
  • 82cb95c Resolve unused field of ReplaceSelf syntax tree visitor
  • cd8286b Update ui test suite to nightly-2024-03-22
  • c73061d Release 0.1.78
  • b6314bc Refactor inferred bound filtering
  • 8d51928 Merge pull request #262 from dtolnay/asyncspan
  • c98a408 Minimize use of async token's span in expanded code
  • 2f5343c Merge pull request #261 from dtolnay/inferredbound
  • 1a01bb4 Skip needlessly generating inferred bounds during ?Send
  • e68d68c Merge pull request #260 from dtolnay/qualifications
  • Additional commits viewable in compare view


Updates tokio from 1.36.0 to 1.37.0

Release notes

Sourced from tokio's releases.

Tokio v1.37.0

1.37.0 (March 28th, 2024)

Added

  • fs: add set_max_buf_size to tokio::fs::File (#6411)
  • io: add try_new and try_with_interest to AsyncFd (#6345)
  • sync: add forget_permits method to semaphore (#6331)
  • sync: add is_closed, is_empty, and len to mpsc receivers (#6348)
  • sync: add a rwlock() method to owned RwLock guards (#6418)
  • sync: expose strong and weak counts of mpsc sender handles (#6405)
  • sync: implement Clone for watch::Sender (#6388)
  • task: add TaskLocalFuture::take_value (#6340)
  • task: implement FromIterator for JoinSet (#6300)

Changed

  • io: make io::split use a mutex instead of a spinlock (#6403)

Fixed

  • docs: fix docsrs build without net feature (#6360)
  • macros: allow select with only else branch (#6339)
  • runtime: fix leaking registration entries when os registration fails (#6329)

Documented

  • io: document cancel safety of AsyncBufReadExt::fill_buf (#6431)
  • io: document cancel safety of AsyncReadExt's primitive read functions (#6337)
  • runtime: add doc link from Runtime to #[tokio::main] (#6366)
  • runtime: make the enter example deterministic (#6351)
  • sync: add Semaphore example for limiting the number of outgoing requests (#6419)
  • sync: fix missing period in broadcast docs (#6377)
  • sync: mark mpsc::Sender::downgrade with #[must_use] (#6326)
  • sync: reorder const_new before new_with (#6392)
  • sync: update watch channel docs (#6395)
  • task: fix documentation links (#6336)

Changed (unstable)

  • runtime: include task Id in taskdumps (#6328)
  • runtime: panic if unhandled_panic is enabled when not supported (#6410)

#6300: tokio-rs/tokio#6300 #6326: tokio-rs/tokio#6326 #6328: tokio-rs/tokio#6328 #6329: tokio-rs/tokio#6329 #6331: tokio-rs/tokio#6331 #6336: tokio-rs/tokio#6336 #6337: tokio-rs/tokio#6337

... (truncated)

Commits
  • 9c337ca chore: prepare Tokio v1.37.0 (#6435)
  • e542501 io: document cancel safety of AsyncBufReadExt::fill_buf (#6431)
  • 4601c84 stream: add next_many and poll_next_many to StreamMap (#6409)
  • deff252 util: document cancel safety of SinkExt::send and StreamExt::next (#6417)
  • 4565b81 sync: add a rwlock() method to owned RwLock guards (#6418)
  • 3ce4720 sync: add is_closed, is_empty, and len to mpsc receivers (#6348)
  • 8342e4b util: assert compatibility between LengthDelimitedCodec options (#6414)
  • 4c453e9 readme: add description about benchmarks (#6425)
  • 1846483 sync: expose strong and weak counts of mpsc sender handles (#6405)
  • baad270 sync: add Semaphore example for limiting the number of outgoing requests (#6419)
  • Additional commits viewable in compare view


Updates clap from 4.5.1 to 4.5.4

Release notes

Sourced from clap's releases.

v4.5.4

[4.5.4] - 2024-03-25

Fixes

  • (derive) Allow non-literal #[arg(id)] attributes again

v4.5.3

[4.5.3] - 2024-03-15

Internal

  • (derive) Update heck

v4.5.2

[4.5.2] - 2024-03-06

Fixes

  • (macros) Silence a warning
Changelog

Sourced from clap's changelog.

[4.5.4] - 2024-03-25

Fixes

  • (derive) Allow non-literal #[arg(id)] attributes again

[4.5.3] - 2024-03-15

Internal

  • (derive) Update heck

[4.5.2] - 2024-03-06

Fixes

  • (macros) Silence a warning
Commits
  • 5e4facf chore: Release
  • 8880b0a docs: Update changelog
  • 132b5dd Merge pull request #5425 from epage/lit
  • df915fe fix(derive): Re-allow expressions for id's
  • 8eab48f refactor(derive): Make it easier to work with 'Name'
  • be73195 refactor(derive): Clarify tests
  • 024089b Merge pull request #5415 from Pi-Cla/patch-1
  • 3b35dba docs: Add mention of nushell to clap_complete README
  • 58469d1 Merge pull request #5405 from epage/docs
  • 655d829 docs(derive): Fix ToC links within tutorial chapters
  • Additional commits viewable in compare view


Updates env_logger from 0.11.2 to 0.11.3

Release notes

Sourced from env_logger's releases.

v0.11.3

[0.11.3] - 2024-03-05

Features

  • Experimental support for key-value logging behind unstable-kv
Changelog

Sourced from env_logger's changelog.

[0.11.3] - 2024-03-05

Features

  • Experimental support for key-value logging behind unstable-kv
Commits
  • 98ce803 chore: Release
  • 7a16130 docs: Update changelog
  • e55af6f Merge pull request #137 from tmccombs/structured
  • f6e2d45 feat(kv): Use now-stable kv feature of log crate
  • 9f4a33a feat(kv): Add styling for key in default format
  • 9d26ad5 feat: Add support for Key-Value data in log records
  • 8962096 Merge pull request #314 from rust-cli/renovate/pre-commit-action-3.x
  • 4127228 chore(deps): update pre-commit/action action to v3.0.1
  • See full diff in compare view


Updates pyo3 from 0.20.3 to 0.21.1

Release notes

Sourced from pyo3's releases.

PyO3 0.21.1

This release is a set of touch-ups to PyO3 0.21 to fix cases found as adoption of PyO3 0.21.0 progressed.

The new PyBackedStr and PyBackedBytes types have had a large range of standard traits implemented, including Clone, PartialEq, Hash, PartialOrd, Display, Debug, Send and Sync.

The argument to a #[setter] function now accepts the full range of input types as any other function argument in a #[pymethods] block, and will now correctly handle a #[pyo3(from_py_with = "...")] annotation.

Some procedural macro output has been adjusted to reuse more code and make it easier to reach complete code coverage in projects using PyO3. The import_exception_bound! macro has been added to further assist with coverage during migration, by skipping generating code which is only needed to use the exception as a GIL Ref.

Finally, the experimental-async feature now correctly handles async fn in #[pymethods] which have a &self or &mut self receiver plus additional arguments.

Thank you to the following users for the improvements:

@​alex @​davidhewitt @​geo7 @​Icxolu @​reswqa @​rikushoney @​tisonkun

PyO3 0.21.0

This release introduces a substantial new direction for PyO3's API. The Bound<'py, T> smart pointer type has been added that replaces "GIL Refs" such as &'py PyAny and &'py PyList with smart-pointer forms Bound<'py, PyAny> and Bound<'py, PyList>. This new smart pointer brings ownership out of PyO3's internals and into user control. This has been done for sake of both performance and soundness.

The migration guide extensively details the intended transition to the new API. To allow users a more graceful upgrade path, PyO3 0.21 and 0.22 will maintain backwards compatibility support for the existing "GIL Refs" API.

As well as the Bound API, highlights of PyO3 0.21 include:

  • Support for compiling for GraalPy
  • Extended chrono / datetime conversions, including support for the abi3 feature and the chrono-tz crate
  • Simplifications to __next__ and __anext__ methods

PyO3 0.21 also includes two new experimental features:

  • experimental-async for a simple async fn integration between Rust and Python.
  • experimental-declarative-modules for a new simpler #[pymodule] syntax.

There have been numerous other smaller improvements, changes and fixes. For full details see the CHANGELOG.

Please consult the migration guide for help upgrading.

Thank you to everyone who contributed code, documentation, design ideas, bug reports, and feedback. The following users' commits are included in this release:

@​acceptacross @​adamreichold @​aldanor @​alex @​alonme @​alxhill @​birkenfeld @​btel @​daemontus

... (truncated)

Changelog

Sourced from pyo3's changelog.

[0.21.1] - 2024-04-01

Added

  • Implement Send and Sync for PyBackedStr and PyBackedBytes. #4007
  • Implement Clone, Debug, PartialEq, Eq, PartialOrd, Ord and Hash implementation for PyBackedBytes and PyBackedStr, and Display for PyBackedStr. #4020
  • Add import_exception_bound! macro to import exception types without generating GIL Ref functionality for them. #4027

Changed

  • Emit deprecation warning for uses of GIL Refs as #[setter] function arguments. #3998
  • Add #[inline] hints on many Bound and Borrowed methods. #4024

Fixed

  • Handle #[pyo3(from_py_with = "")] in #[setter] methods #3995
  • Allow extraction of &Bound in #[setter] methods. #3998
  • Fix some uncovered code blocks emitted by #[pymodule], #[pyfunction] and #[pyclass] macros. #4009
  • Fix typo in the panic message when a class referenced in pyo3::import_exception! does not exist. #4012
  • Fix compile error when using an async #[pymethod] with a receiver and additional arguments. #4015

[0.21.0] - 2024-03-25

Added

  • Add support for GraalPy (24.0 and up). #3247
  • Add PyMemoryView type. #3514
  • Allow async fn in for #[pyfunction] and #[pymethods], with the experimental-async feature. #3540 #3588 #3599 #3931
  • Implement PyTypeInfo for PyEllipsis, PyNone and PyNotImplemented. #3577
  • Support #[pyclass] on enums that have non-unit variants. #3582
  • Support chrono feature with abi3 feature. #3664
  • FromPyObject, IntoPy<PyObject> and ToPyObject are implemented on std::duration::Duration #3670
  • Add PyString::to_cow. Add Py<PyString>::to_str, Py<PyString>::to_cow, and Py<PyString>::to_string_lossy, as ways to access Python string data safely beyond the GIL lifetime. #3677
  • Add Bound<T> and Borrowed<T> smart pointers as a new API for accessing Python objects. #3686
  • Add PyNativeType::as_borrowed to convert "GIL refs" to the new Bound smart pointer. #3692
  • Add FromPyObject::extract_bound method, to migrate FromPyObject implementations to the Bound API. #3706
  • Add gil-refs feature to allow continued use of the deprecated GIL Refs APIs. #3707
  • Add methods to PyAnyMethods for binary operators (add, sub, etc.) #3712
  • Add chrono-tz feature allowing conversion between chrono_tz::Tz and zoneinfo.ZoneInfo #3730
  • Add FFI definition PyType_GetModuleByDef. #3734
  • Conversion between std::time::SystemTime and datetime.datetime #3736
  • Add Py::as_any and Py::into_any. #3785
  • Add PyStringMethods::encode_utf8. #3801
  • Add PyBackedStr and PyBackedBytes, as alternatives to &str and &bytes where a Python object owns the data. #3802 #3991
  • Allow #[pymodule] macro on Rust mod blocks, with the experimental-declarative-modules feature. #3815
  • Implement ExactSizeIterator for set and frozenset iterators on abi3 feature. #3849
  • Add Py::drop_ref to explicitly drop a `Py`` and immediately decrease the Python reference count if the GIL is already held. #3871
  • Allow #[pymodule] macro on single argument functions that take &Bound<'_, PyModule>. #3905
  • Implement FromPyObject for Cow<str>. #3928

... (truncated)

Commits


Updates serde_json from 1.0.114 to 1.0.115

Release notes

Sourced from serde_json's releases.

v1.0.115

  • Documentation improvements
Commits
  • b1ebf38 Release 1.0.115
  • c3dc153 Merge pull request #1119 from titaniumtraveler/pr
  • 218770b Explicitly install a Rust toolchain for cargo-outdated job
  • 840da8e Fix missing backticks in doc comments
  • 3a3f61b Temporarily disable miri on doctests
  • 4a0be88 Format regression tests with rustfmt
  • d2dbbf7 Ignore dead code lint in tests
  • 8e7b37b Merge pull request #1118 from serde-rs/transparent
  • a25f6c6 Remove conditional on repr(transparent)
  • fedf834 Ignore non_local_definitions false positive in test
  • See full diff in compare view


Updates toml from 0.8.10 to 0.8.12

Commits
  • 3a777b3 chore: Release
  • 7979905 docs: Update changelog
  • 487768d Merge pull request #703 from epage/overflow
  • 6987f77 chore(ci): Run with default opt-level
  • 21f545d fix(parser): Don't stackoverflow on opt-level=0
  • af1f97d refactor(parser): Pull recursion limit out to variable
  • eb86543 chore: Release
  • 246b292 docs: Update changelog
  • d41c62c Merge pull request #701 from epage/cleanup
  • 31457b3 refactor(error): Clean up highlight code
  • Additional commits viewable in compare view


Updates regex from 1.10.3 to 1.10.4

Commits
  • aa2d8bd 1.10.4
  • 088d7f3 api: add Cow guarantee to replace API
  • a5ae351 regex-automata-0.4.6
  • 9cf4a42 automata: fix bug where reverse NFA lacked an unanchored prefix
  • 10fe722 style: clean up some recent lint violations
  • d7f9347 regex-automata-0.4.5
  • 07ef7f1 automata: make additional prefileter metadata public
  • See full diff in compare view


Updates anyhow from 1.0.80 to 1.0.81

Release notes

Sourced from anyhow's releases.

1.0.81

  • Make backtrace support available when using -Dwarnings (#354)
Commits


Updates thiserror from 1.0.57 to 1.0.58

Release notes

Sourced from thiserror's releases.

1.0.58

  • Make backtrace support available when using -Dwarnings (#292)
Commits


Updates diesel from 2.1.4 to 2.1.5

Changelog

Sourced from diesel's changelog.

[2.1.5] 2024-03-15

  • Fix impl SqlOrd postgres > postgres_backend feature flag.
  • Allow Queryable to be used with multiple table names.
  • Fix an inconsistent unit test
  • Fix a clippy lint
  • Fix ./bin/test feature flag calls.
  • Update libsqlite3-sys to allow version 0.28 as well
Commits
  • c96c870 Merge pull request #3959 from 1Dragoon/backports/2.1.4
  • 2c9f46d Rustfmt
  • 67cac15 Another clippy fix
  • c4ae62a Fix the changelog links
  • 151d32e Bump libsqlite3-sys to 0.28
  • 9117d29 Fix the minimal version build
  • ddc50de Bump toolchain to 1.76.0
  • bc2b4ab Prerpare a 2.1.5 release
  • 23cf90e Fixed test feature call lint, fixed test script, fixed flakey unit test
  • f8d6fe0 Fix a bunch of new warnings
  • Additional commits viewable in compare view


Updates reqwest from 0.11.24 to 0.12.2

Release notes

Sourced from reqwest's releases.

v0.12.2

What's Changed

  • Fix missing ALPN when connecting to socks5 proxy with rustls.
  • Fix TLS version limits with rustls.
  • Fix not detected ALPN h2 from server with native-tls.

New Contributors

Full Changelog: https://github.com/seanmonstar/reqwest/compare/v0.12.1...v0.12.2

v0.12.1

What's Changed

  • Fix ClientBuilder::interface() when no TLS is enabled.
  • Fix TlsInfo::peer_certificate() being truncated with rustls.
  • Fix panic if http2 feature disabled but TLS negotiated h2 in ALPN.
  • Fix Display for Error to not include its source error.

New Contributors

Full Changelog: https://github.com/seanmonstar/reqwest/compare/v0.12.0...v0.12.1

v0.12.0

What's Changed

  • Upgrade to hyper, http, and http-body v1.
  • Add better support for converting to and from http::Request and http::Response.
  • Add http2 optional cargo feature, default on.
  • Add charset optional cargo feature, default on.
  • Add macos-system-configuration cargo feature, default on.
  • Change all optional dependencies to no longer be exposed as implicit features.
  • Add ClientBuilder::interface(str) to specify the local interface to bind to.
  • Experimental: disables the http3 feature temporarily.

Full Changelog: https://github.com/seanmonstar/reqwest/compare/v0.11.27...v0.12.0

v0.11.27

What's Changed

  • Add hickory-dns feature, deprecating trust-dns.
  • (wasm) Fix Form::text() to not set octet-stream for plain text fields.

New Contributors

Full Changelog: https://github.com/seanmonstar/reqwest/compare/v0.11.26...v0.11.27

... (truncated)

Changelog

Sourced from reqwest's changelog.

v0.12.2

  • Fix missing ALPN when connecting to socks5 proxy with rustls.
  • Fix TLS version limits with rustls.
  • Fix not detected ALPN h2 from server with native-tls.

v0.12.1

  • Fix ClientBuilder::interface() when no TLS is enabled.
  • Fix TlsInfo::peer_certificate() being truncated with rustls.
  • Fix panic if http2 feature disabled but TLS negotiated h2 in ALPN.
  • Fix Display for Error to not include its source error.

v0.12.0

  • Upgrade to hyper, http, and http-body v1.
  • Add better support for converting to and from http::Request and http::Response.
  • Add http2 optional cargo feature, default on.
  • Add charset optional cargo feature, default on.
  • Add macos-system-configuration cargo feature, default on.
  • Change all optional dependencies to no longer be exposed as implicit features.
  • Add ClientBuilder::interface(str) to specify the local interface to bind to.
  • Experimental: disables the http3 feature temporarily.

v0.11.27

  • Add hickory-dns feature, deprecating trust-dns.
  • (wasm) Fix Form::text() to not set octet-stream for plain text fields.

v0.11.26

  • Revert system-configuration upgrade, which broke MSRV on macOS.

v0.11.25

  • Fix Certificate::from_pem_bundle() parsing.
  • Fix Apple linker errors from detecting system proxies.
Commits
  • 6768a8e v0.12.2
  • fff307b fix(connect): ALPN missed when using socks5 proxy with rustls backend (#2164)
  • 04bf45f fix: tls version limit for rustls (#2203)
  • 056f8c4 fix(connect): not negotiate h2 when using native-tls backend (#2165)
  • e0ea15b v0.12.1
  • 3d78fcb fix: Display for Error shouldn't include source (#2199)
  • c535724 Fix binding interface when no TLS is used (#2200)
  • d5adcba fix: rustls extraction of TlsInfo::peer_certificate() being truncated (#2195)
  • 7a5df21 fix: could panic if http2 disabled but TLS negotiated h2 (#2194)
  • d5051f9 Update version number in Readme
  • Additional commits viewable in compare view


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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
dependabot[bot] commented 6 months ago

Looks like these dependencies are updatable in another way, so this is no longer needed.