svenstaro / miniserve

🌟 For when you really just want to serve some files over HTTP right now!
MIT License
5.95k stars 289 forks source link

Bump the all-dependencies group with 13 updates #1429

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps the all-dependencies group with 13 updates:

Package From To
actix-web 4.5.1 4.6.0
anyhow 1.0.83 1.0.86
comrak 0.23.0 0.24.1
grass 0.13.2 0.13.3
http 0.2.12 1.1.0
maud 0.25.0 0.26.0
rustls 0.20.9 0.21.12
rustls-pemfile 1.0.4 2.1.2
serde 1.0.200 1.0.203
thiserror 1.0.60 1.0.61
tokio 1.37.0 1.38.0
reqwest 0.11.27 0.12.4
rstest 0.19.0 0.21.0

Updates actix-web from 4.5.1 to 4.6.0

Release notes

Sourced from actix-web's releases.

actix-web: v4.6.0

Added

  • Add unicode crate feature (on-by-default) to switch between regex and regex-lite as a trade-off between full unicode support and binary size.
  • Add rustls-0_23 crate feature.
  • Add HttpServer::{bind_rustls_0_23, listen_rustls_0_23}() builder methods.
  • Add HttpServer::tls_handshake_timeout() builder method for rustls-0_22 and rustls-0_23.

Changed

  • Update brotli dependency to 6.
  • Minimum supported Rust version (MSRV) is now 1.72.

Fixed

  • Avoid type confusion with rustls in some circumstances.
Commits


Updates anyhow from 1.0.83 to 1.0.86

Release notes

Sourced from anyhow's releases.

1.0.86

  • Fix parse error in ensure! with non-literal after minus sign (#373)

1.0.85

  • Improve ensure! macro's rules to unblock some rustc pretty-printer improvements (#368, #371)

1.0.84

  • Disallow calling ensure! through a Not impl for a type that is not bool (#367)
Commits
  • 8ea1819 Release 1.0.86
  • 0a1b405 Merge pull request #373 from dtolnay/minusneg
  • e0c74f2 Ensure $:literal never matches negative literal
  • 013c66e Fix parse error with non-literal after minus sign
  • ca7aff7 Add binary operator ensure tests
  • 2737bbe Release 1.0.85
  • 82b8b34 Merge pull request #371 from dtolnay/split
  • ad78d70 Preserve more token spans in expression parser
  • 5cce406 Parse comparison operators before other binary operators
  • 7205394 Merge pull request #369 from dtolnay/tokensplit
  • Additional commits viewable in compare view


Updates comrak from 0.23.0 to 0.24.1

Release notes

Sourced from comrak's releases.

v0.24.1

What's Changed

Full Changelog: https://github.com/kivikakk/comrak/compare/0.23.0...v0.24.1

v0.23.1-pre.3

Full Changelog: https://github.com/kivikakk/comrak/compare/v0.23.1-pre.2...v0.23.1-pre.3

v0.23.1-pre.2

What's Changed

Full Changelog: https://github.com/kivikakk/comrak/compare/0.23.0...v0.23.1-pre.2

Changelog

Sourced from comrak's changelog.

[v0.24.1] - 19-05-2024

What's Changed

Full Changelog: https://github.com/kivikakk/comrak/compare/v0.24.0...v0.24.1

[v0.24.0] - 19-05-2024

What's Changed

Full Changelog: https://github.com/kivikakk/comrak/compare/0.23.0...v0.24.0

Commits
  • 695e14b Merge pull request #419 from kivikakk/release/v0.24.1
  • 5e11a08 [skip test] update changelog
  • 47e27e6 Merge pull request #418 from kivikakk/bump-version-0.24.1
  • 77dc883 Add GH_TOKEN to release workflow
  • d78819e Merge pull request #417 from kivikakk/release/v0.24.0
  • a96c5c5 Remove some duplication in changelog.txt
  • 071ab00 [skip test] update changelog
  • 3b905d7 workflows: configure git on release job too.
  • 63d89cc Merge pull request #416 from kivikakk/release/v0.24.0
  • b2b8812 [skip test] update changelog
  • Additional commits viewable in compare view


Updates grass from 0.13.2 to 0.13.3

Changelog

Sourced from grass's changelog.

0.13.3

  • implement builtin string-module function string.split(..) (#96) by @​xpe
  • implement functionality for intercepting logs (#93) by cryocz
Commits


Updates http from 0.2.12 to 1.1.0

Release notes

Sourced from http's releases.

v1.1.0

What's Changed

  • Add methods to allow trying to allocate in the HeaderMap, returning an error if oversize instead of panicking.
  • Add Extensions::get_or_insert() method.
  • Implement From<Uri> for uri::Builder.
  • Fix HeaderName::from_lowercase that could allow NUL bytes in some cases.

New Contributors

Full Changelog: https://github.com/hyperium/http/compare/v1.0.0...v1.1.0

v1.0.0

What's Changed

  • Implement Clone for Request, Response, and Extensions. This breaking change requires that all extensions now implement Clone.
  • Add a default-on std feature. Disabling it currently is not supported.
  • Fix MIRI warnings in HeaderMap::iter().

New Contributors

Changelog

Sourced from http's changelog.

1.1.0 (March 4, 2024)

  • Add methods to allow trying to allocate in the HeaderMap, returning an error if oversize instead of panicking.
  • Add Extensions::get_or_insert() method.
  • Implement From<Uri> for uri::Builder.
  • Fix HeaderName::from_lowercase that could allow NUL bytes in some cases.

1.0.0 (November 15, 2023)

  • Implement Clone for Request, Response, and Extensions. This breaking change requires that all extensions now implement Clone.
  • Add a default-on std feature. Disabling it currently is not supported.
  • Fix MIRI warnings in HeaderMap::iter().

0.2.10 (November 10, 2023)

  • Fix parsing of Authority to handle square brackets in incorrect order.
  • Fix HeaderMap::with_capacity() to handle arithmetic overflow.

0.2.9 (February 17, 2023)

  • Add HeaderName constants for cache-status and cdn-cache-control.
  • Implement Hash for PathAndQuery.
  • Re-export HeaderName at crate root.

0.2.8 (June 6, 2022)

  • Fix internal usage of uninitialized memory to use MaybeUninit inside HeaderName.

0.2.7 (April 28, 2022)

  • MSRV bumped to 1.49.
  • Add extend() method to Extensions.
  • Add From<Authority> and From<PathAndQuery> impls for Uri.
  • Make HeaderName::from_static a const fn.

0.2.6 (December 30, 2021)

  • Upgrade internal itoa dependency to 1.0.

0.2.5 (September 21, 2021)

  • Add is_empty() and len() methods to Extensions.
  • Add version_ref() method to request::Builder.
  • Implement TryFrom<Vec<u8>> and TryFrom<String> for Authority, Uri, PathAndQuery, and HeaderName.
  • Make HeaderValue::from_static a const fn.

0.2.4 (April 4, 2021)

  • Fix Uri parsing to allow {, ", and } in paths.

... (truncated)

Commits
  • 3fe7267 v1.1.0
  • 96dc52f fix: HeaderName::from_lowercase allowing NUL bytes in some cases
  • caa8b4f feat: add HeaderMap::try_ methods to handle capacity overflow
  • 63102bc chore(lib): remove importing prelude AsRef trait
  • c03cc8b chore(header): allow clippy::should_implement_trait rule for HeaderValue::fro...
  • 4785cdd refactor(header): rename method to follow naming convention
  • 63e7d63 doc(header): add panics and safety section to document
  • b8ddea7 refactor(header): add comment and lint allowing to panic in const context wor...
  • fe1932d refactor(status): remove redundant static lifetime
  • 79f8da5 refactor(header): ownership is not needed to iterate
  • Additional commits viewable in compare view


Updates maud from 0.25.0 to 0.26.0

Release notes

Sourced from maud's releases.

v0.26.0

  • Remove AsRef<str> restriction from PreEscaped #377
  • Implement Render for Arc<T> #380
  • Fix missing parentheses around splices #382 #383
  • Accept literals in attribute names #396 #398 #415
  • Support axum v0.7 through axum-core v0.4 and http v1 #401
  • Add support for warp v0.3.6 #404
  • Support rocket v0.5 #406
Changelog

Sourced from maud's changelog.

[0.26.0] - 2024-01-15

  • Remove AsRef<str> restriction from PreEscaped #377
  • Implement Render for Arc<T> #380
  • Fix missing parentheses around splices #382 #383
  • Accept literals in attribute names #396 #398 #415
  • Support axum v0.7 through axum-core v0.4 and http v1 #401
  • Add support for warp v0.3.6 #404
  • Support rocket v0.5 #406
Commits


Updates rustls from 0.20.9 to 0.21.12

Commits
  • 3633152 Cargo: v0.21.11 -> v0.21.12
  • 0baaeba proj: MSRV 1.61 -> 1.63
  • 6fd691a tls13: fix clippy::unnecessary_lazy_evaluations finding
  • 6da5337 Test for illegal IP address in server name extension
  • 75f8857 Ignore server_name extension containing IP address
  • 7b8d1db Prepare 0.21.11
  • ebcb478 complete_io: bail out if progress is impossible
  • 20f35df Regression test for complete_io infinite loop bug
  • 2f2aae1 Don't specially handle unauthenticated close_notify alerts
  • e163587 Don't deny warnings from nightly clippy
  • Additional commits viewable in compare view


Updates rustls-pemfile from 1.0.4 to 2.1.2

Release notes

Sourced from rustls-pemfile's releases.

2.1.2

Dependency updates.

What's Changed

New Contributors

Full Changelog: https://github.com/rustls/pemfile/compare/v/2.1.1...v/2.1.2

2.1.1

Headlines

  • Leading whitespace in PEM document bodies is now trimmed in addition to trailing whitespace.

What's Changed

Full Changelog: https://github.com/rustls/pemfile/compare/v/2.1.0...v/2.1.1

2.1.0

Headlines

  • Adds the csr function and the Item::Csr variant to support loading DER encoded Certificate Signing Requests (CSRs) from PEM inputs.

What's Changed

New Contributors

Full Changelog: https://github.com/rustls/pemfile/compare/v/2.0.0...v/2.1.0

2.0.0

Headlines

  • Improving API stability. This crate now uses types from rustls-pki-types; we expect this to reduce the number of breaking changes in rustls ecosystem. As part of this, the Item enum's variants got renamed from Item::{RSAKey, PKCS8Key, ECKey} to Item::{Pkcs1Key, Pkcs8Key, Sec1Key}.
  • no_std support. This crate can now work optionally without std: use the new read_one_from_slice API.

What's Changed

... (truncated)

Commits
  • 7ba4ab7 Delete obsolete release history section
  • 07686b2 Cargo: version 2.1.1 -> 2.1.2
  • 48ab234 Fixed warnings from rust nightly
  • d7b1215 Bump base64 from 0.21.5 to 0.22.0
  • 77a6c99 Cargo: version 2.1.0 -> 2.1.1
  • 09a08fd proj: add Cargo.lock, use --locked in CI
  • 95152b4 pemfile: also trim leading contiguous content whitespace
  • fc3414f lib: clean up no_std and use of std in test code
  • e2d220a Cargo: version 2.0.0 -> 2.1.0
  • de3d0ae add certificate signing request
  • Additional commits viewable in compare view


Updates serde from 1.0.200 to 1.0.203

Release notes

Sourced from serde's releases.

v1.0.203

  • Documentation improvements (#2747)

v1.0.202

  • Provide public access to RenameAllRules in serde_derive_internals (#2743)

v1.0.201

  • Resolve unexpected_cfgs warning (#2737)
Commits
  • d5bc546 Release 1.0.203
  • 45ae217 Merge pull request #2747 from dtolnay/variadic
  • b7b97dd Unindent implementation inside tuple_impl_body macro
  • 5d3c563 Document tuple impls as fake variadic
  • 3761854 Merge pull request #2745 from dtolnay/docsrs
  • a8f1484 Rely on docs.rs to define --cfg=docsrs by default
  • 9e32a40 Release 1.0.202
  • 87f635e Release serde_derive_internals 0.29.1
  • d4b2dfb Merge pull request #2743 from dtolnay/renameallrules
  • f6ab0bc Provide public access to RenameAllRules in serde_derive_internals
  • Additional commits viewable in compare view


Updates thiserror from 1.0.60 to 1.0.61

Release notes

Sourced from thiserror's releases.

1.0.61

Commits


Updates tokio from 1.37.0 to 1.38.0

Release notes

Sourced from tokio's releases.

Tokio v1.38.0

This release marks the beginning of stabilization for runtime metrics. It stabilizes RuntimeMetrics::worker_count. Future releases will continue to stabilize more metrics.

Added

  • fs: add File::create_new (#6573)
  • io: add copy_bidirectional_with_sizes (#6500)
  • io: implement AsyncBufRead for Join (#6449)
  • net: add Apple visionOS support (#6465)
  • net: implement Clone for NamedPipeInfo (#6586)
  • net: support QNX OS (#6421)
  • sync: add Notify::notify_last (#6520)
  • sync: add mpsc::Receiver::{capacity,max_capacity} (#6511)
  • sync: add split method to the semaphore permit (#6472, #6478)
  • task: add tokio::task::join_set::Builder::spawn_blocking (#6578)
  • wasm: support rt-multi-thread with wasm32-wasi-preview1-threads (#6510)

Changed

  • macros: make #[tokio::test] append #[test] at the end of the attribute list (#6497)
  • metrics: fix blocking_threads count (#6551)
  • metrics: stabilize RuntimeMetrics::worker_count (#6556)
  • runtime: move task out of the lifo_slot in block_in_place (#6596)
  • runtime: panic if global_queue_interval is zero (#6445)
  • sync: always drop message in destructor for oneshot receiver (#6558)
  • sync: instrument Semaphore for task dumps (#6499)
  • sync: use FIFO ordering when waking batches of wakers (#6521)
  • task: make LocalKey::get work with Clone types (#6433)
  • tests: update nix and mio-aio dev-dependencies (#6552)
  • time: clean up implementation (#6517)
  • time: lazily init timers on first poll (#6512)
  • time: remove the true_when field in TimerShared (#6563)
  • time: use sharding for timer implementation (#6534)

Fixed

  • taskdump: allow building taskdump docs on non-unix machines (#6564)
  • time: check for overflow in Interval::poll_tick (#6487)
  • sync: fix incorrect is_empty on mpsc block boundaries (#6603)

Documented

  • fs: rewrite file system docs (#6467)
  • io: fix stdin documentation (#6581)
  • io: fix obsolete reference in ReadHalf::unsplit() documentation (#6498)
  • macros: render more comprehensible documentation for select! (#6468)
  • net: add missing types to module docs (#6482)
  • net: fix misleading NamedPipeServer example (#6590)

... (truncated)

Commits


Updates reqwest from 0.11.27 to 0.12.4

Release notes

Sourced from reqwest's releases.

v0.12.4

What's Changed

  • Add zstd support, enabled with zstd Cargo feature (thanks @​paolobarbolini!)
  • Add ClientBuilder::read_timeout(Duration), which applies the duration for each read operation. The timeout resets after a successful read.

New Contributors

v0.12.3

What's Changed

  • Add FromStr for dns::Name.
  • Add ClientBuilder::built_in_webpki_certs(bool) to enable them separately.
  • Add ClientBuilder::built_in_native_certs(bool) to enable them separately.
  • Fix sending content-length: 0 for GET requests.
  • Fix response body content_length() to return value when timeout is configured.
  • Fix ClientBuilder::resolve() to use lowercase domain names.

New Contributors

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

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

... (truncated)

Changelog

Sourced from reqwest's changelog.

v0.12.4

  • Add zstd support, enabled with zstd Cargo feature.
  • Add ClientBuilder::read_timeout(Duration), which applies the duration for each read operation. The timeout resets after a successful read.

v0.12.3

  • Add FromStr for dns::Name.
  • Add ClientBuilder::built_in_webpki_certs(bool) to enable them separately.
  • Add ClientBuilder::built_in_native_certs(bool) to enable them separately.
  • Fix sending content-length: 0 for GET requests.
  • Fix response body content_length() to return value when timeout is configured.
  • Fix ClientBuilder::resolve() to use lowercase domain names.

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.
Commits
  • de5dbb1 v0.12.4
  • 0f126f5 tests: fix blocking test about empty bodies and content-length
  • 1073881 feat: add zstd support (#1866)
  • 1af8945 feat: add ClientBuilder::read_timeout(dur) (#2241)
  • e99da85 refactor: fix warnings related to mutability of self (#2245)
  • 0720159 v0.12.3
  • 9209695 Remove duplicate example for ClientBuilder::default_headers (#2236)
  • e3a1565 fix: use lower case domain string when using resolve and resolve_to_addrs...
  • b4c491a feat: allow fine-grained root certs for rustls (#2232)
  • cf4295d chore: update winreg to 0.52.0 (#2226)
  • Additional commits viewable in compare view


Updates rstest from 0.19.0 to 0.21.0

Release notes

Sourced from rstest's releases.

0.21.0

Use crate-name feature to enable the crate rename support (enabled by default)

0.20.0

Introduce #[by_ref] and add support for import rstest with another name.

Changelog

Sourced from rstest's changelog.

[0.21.0] 2024/6/1

Changed

  • Add feature crate-name enabled by default to opt-in crate rename support. See #258

[0.20.0] 2024/5/30

Add

  • Implemented #[by_ref] attribute to take get a local lifetime for test arguments. See #241 for more details. Thanks to @​narpfel for suggesting it and useful discussions.
  • Support for import rstest with another name. See #221

Fixed

  • Don't remove Lifetimes from test function if any. See #230 #241 for more details.
  • PathBuf does no longer need to be in scope when using #[files] (see #242)
  • #[from(now::accept::also::path::for::fixture)] See #246 for more details
Commits


Dependabot will resolve any conflicts with...

Description has been truncated

dependabot[bot] commented 3 months ago

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