Compare commits

..

33 Commits

Author SHA1 Message Date
dependabot[bot] 124f19b398
build(deps): bump trybuild from 1.0.112 to 1.0.113 (#758)
Bumps [trybuild](https://github.com/dtolnay/trybuild) from 1.0.112 to 1.0.113.
- [Release notes](https://github.com/dtolnay/trybuild/releases)
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.112...1.0.113)

---
updated-dependencies:
- dependency-name: trybuild
  dependency-version: 1.0.113
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-01 10:36:19 +00:00
dependabot[bot] 4e64583a3a
build(deps): bump proc-macro2 from 1.0.101 to 1.0.103 (#757)
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.101 to 1.0.103.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.101...1.0.103)

---
updated-dependencies:
- dependency-name: proc-macro2
  dependency-version: 1.0.103
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-01 10:36:05 +00:00
dependabot[bot] f5f7263fe9
build(deps): bump syn from 2.0.107 to 2.0.108 (#756)
Bumps [syn](https://github.com/dtolnay/syn) from 2.0.107 to 2.0.108.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/2.0.107...2.0.108)

---
updated-dependencies:
- dependency-name: syn
  dependency-version: 2.0.108
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-27 22:10:44 +00:00
dependabot[bot] 2d4220ab06
build(deps): bump taiki-e/install-action from 2.62.33 to 2.62.39 (#755)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.62.33 to 2.62.39.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/v2.62.33...v2.62.39)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.62.39
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-27 22:10:28 +00:00
kpcyrd 0b09ccf30d
Update to rustls-native-certs 0.8 (#743)
* Update to rustls-native-certs 0.8

* Add rustls-native-certs 0.8 change to rustls_0_22.rs

* Update rustls-native-certs versions in docs

---------

Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2025-10-27 22:09:58 +00:00
dependabot[bot] 4bdf1c3702
build(deps): bump tokio from 1.47.1 to 1.48.0 (#754)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.47.1 to 1.48.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.47.1...tokio-1.48.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-version: 1.48.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-25 08:16:07 +00:00
dependabot[bot] 9121dd0819
build(deps): bump trybuild from 1.0.111 to 1.0.112 (#752)
Bumps [trybuild](https://github.com/dtolnay/trybuild) from 1.0.111 to 1.0.112.
- [Release notes](https://github.com/dtolnay/trybuild/releases)
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.111...1.0.112)

---
updated-dependencies:
- dependency-name: trybuild
  dependency-version: 1.0.112
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-24 11:58:31 +00:00
dependabot[bot] da0aa9b061
build(deps): bump bitflags from 2.9.4 to 2.10.0 (#753)
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.9.4 to 2.10.0.
- [Release notes](https://github.com/bitflags/bitflags/releases)
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bitflags/bitflags/compare/2.9.4...2.10.0)

---
updated-dependencies:
- dependency-name: bitflags
  dependency-version: 2.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-24 11:57:34 +00:00
dependabot[bot] 3c49d311cb
build(deps): bump mio from 1.0.4 to 1.1.0 (#751)
Bumps [mio](https://github.com/tokio-rs/mio) from 1.0.4 to 1.1.0.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/compare/v1.0.4...v1.1.0)

---
updated-dependencies:
- dependency-name: mio
  dependency-version: 1.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-24 11:56:32 +00:00
dependabot[bot] 1642b47c9f
build(deps): bump syn from 2.0.106 to 2.0.107 (#750)
Bumps [syn](https://github.com/dtolnay/syn) from 2.0.106 to 2.0.107.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/2.0.106...2.0.107)

---
updated-dependencies:
- dependency-name: syn
  dependency-version: 2.0.107
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-24 11:56:12 +00:00
dependabot[bot] 53a8fb0251
build(deps): bump taiki-e/install-action from 2.62.28 to 2.62.33 (#749)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.62.28 to 2.62.33.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/v2.62.28...v2.62.33)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.62.33
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-22 10:59:30 +00:00
dependabot[bot] fdda66d813
build(deps): bump taiki-e/cache-cargo-install-action from 2.3.0 to 2.3.1 (#738)
Bumps [taiki-e/cache-cargo-install-action](https://github.com/taiki-e/cache-cargo-install-action) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/taiki-e/cache-cargo-install-action/releases)
- [Changelog](https://github.com/taiki-e/cache-cargo-install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/cache-cargo-install-action/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: taiki-e/cache-cargo-install-action
  dependency-version: 2.3.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-14 12:14:07 +00:00
dependabot[bot] 2b55cbd0f9
build(deps): bump quote from 1.0.40 to 1.0.41 (#741)
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](https://github.com/dtolnay/quote/compare/1.0.40...1.0.41)

---
updated-dependencies:
- dependency-name: quote
  dependency-version: 1.0.41
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-14 12:13:47 +00:00
dependabot[bot] f9f2806206
build(deps): bump actions-rust-lang/setup-rust-toolchain (#745)
Bumps [actions-rust-lang/setup-rust-toolchain](https://github.com/actions-rust-lang/setup-rust-toolchain) from 1.15.0 to 1.15.2.
- [Release notes](https://github.com/actions-rust-lang/setup-rust-toolchain/releases)
- [Changelog](https://github.com/actions-rust-lang/setup-rust-toolchain/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions-rust-lang/setup-rust-toolchain/compare/v1.15.0...v1.15.2)

---
updated-dependencies:
- dependency-name: actions-rust-lang/setup-rust-toolchain
  dependency-version: 1.15.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-14 12:13:18 +00:00
dependabot[bot] 0427eb6373
build(deps): bump socket2 from 0.6.0 to 0.6.1 (#747)
Bumps [socket2](https://github.com/rust-lang/socket2) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/rust-lang/socket2/releases)
- [Changelog](https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/socket2/compare/v0.6.0...v0.6.1)

---
updated-dependencies:
- dependency-name: socket2
  dependency-version: 0.6.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-14 12:12:49 +00:00
dependabot[bot] bb857f2192
build(deps): bump taiki-e/install-action from 2.62.4 to 2.62.28 (#748)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.62.4 to 2.62.28.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/v2.62.4...v2.62.28)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.62.28
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-14 12:12:27 +00:00
dependabot[bot] a67b4747b2
build(deps): bump memchr from 2.7.5 to 2.7.6 (#742)
Bumps [memchr](https://github.com/BurntSushi/memchr) from 2.7.5 to 2.7.6.
- [Commits](https://github.com/BurntSushi/memchr/compare/2.7.5...2.7.6)

---
updated-dependencies:
- dependency-name: memchr
  dependency-version: 2.7.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-14 12:12:10 +00:00
Yuki Okushi 58377407cb
fix: rename doc_auto_cfg feature (#737) 2025-09-29 10:47:53 +00:00
dependabot[bot] 25f3affe31
build(deps): bump taiki-e/install-action from 2.61.5 to 2.62.2 (#735)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.61.5 to 2.62.2.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/v2.61.5...v2.62.2)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.62.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-23 10:20:31 +00:00
Yuki Okushi ca380c4c8c
fix: fix Trust DNS leftovers (#736)
* fix: fix Trust DNS leftovers

* chore: update MSRV
2025-09-23 01:21:18 +00:00
Rob Ede 5904bd2997
test: replace trust-dns with hickory 2025-09-20 00:23:42 +01:00
dependabot[bot] 16083843b6
build(deps): bump actions-rust-lang/setup-rust-toolchain (#730)
Bumps [actions-rust-lang/setup-rust-toolchain](https://github.com/actions-rust-lang/setup-rust-toolchain) from 1.14.1 to 1.15.0.
- [Release notes](https://github.com/actions-rust-lang/setup-rust-toolchain/releases)
- [Changelog](https://github.com/actions-rust-lang/setup-rust-toolchain/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions-rust-lang/setup-rust-toolchain/compare/v1.14.1...v1.15.0)

---
updated-dependencies:
- dependency-name: actions-rust-lang/setup-rust-toolchain
  dependency-version: 1.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-15 19:48:08 +00:00
dependabot[bot] d6efadb1e9
build(deps): bump trybuild from 1.0.110 to 1.0.111 (#732)
Bumps [trybuild](https://github.com/dtolnay/trybuild) from 1.0.110 to 1.0.111.
- [Release notes](https://github.com/dtolnay/trybuild/releases)
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.110...1.0.111)

---
updated-dependencies:
- dependency-name: trybuild
  dependency-version: 1.0.111
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-15 19:48:06 +00:00
dependabot[bot] 19ffbf75b7
build(deps): bump taiki-e/install-action from 2.60.0 to 2.61.5 (#731)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.60.0 to 2.61.5.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/v2.60.0...v2.61.5)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.61.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-15 19:48:04 +00:00
dependabot[bot] 8a6c69e45d
build(deps): bump serde_json from 1.0.143 to 1.0.145 (#729)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.143 to 1.0.145.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.143...v1.0.145)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-version: 1.0.145
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-15 18:34:42 +00:00
Rob Ede d22774f1b7
chore(bytestring): prepare release 1.5.0 2025-09-15 09:13:23 +01:00
Paolo Barbolini da9db224c4
Switch `serde` dependency to `serde_core` (#728) 2025-09-15 09:11:50 +01:00
dependabot[bot] a9d98ca11f
build(deps): bump bitflags from 2.9.3 to 2.9.4 (#725)
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.9.3 to 2.9.4.
- [Release notes](https://github.com/bitflags/bitflags/releases)
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bitflags/bitflags/compare/2.9.3...2.9.4)

---
updated-dependencies:
- dependency-name: bitflags
  dependency-version: 2.9.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-09 04:54:38 +00:00
dependabot[bot] 23d19cfb90
build(deps): bump codecov/codecov-action from 5.5.0 to 5.5.1 (#726)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.5.0 to 5.5.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v5.5.0...v5.5.1)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 5.5.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-09 04:54:29 +00:00
dependabot[bot] b3406dc7e0
build(deps): bump taiki-e/install-action from 2.59.1 to 2.60.0 (#727)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.59.1 to 2.60.0.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/v2.59.1...v2.60.0)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.60.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-09 03:44:04 +00:00
dependabot[bot] 0e1604e5ba
build(deps): bump taiki-e/install-action from 2.58.21 to 2.58.30 (#723)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.58.21 to 2.58.30.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/v2.58.21...v2.58.30)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.58.30
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-06 20:33:52 +00:00
dependabot[bot] 63f8e962fa
build(deps): bump actions-rust-lang/setup-rust-toolchain (#724)
Bumps [actions-rust-lang/setup-rust-toolchain](https://github.com/actions-rust-lang/setup-rust-toolchain) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/actions-rust-lang/setup-rust-toolchain/releases)
- [Changelog](https://github.com/actions-rust-lang/setup-rust-toolchain/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions-rust-lang/setup-rust-toolchain/compare/v1.14.0...v1.14.1)

---
updated-dependencies:
- dependency-name: actions-rust-lang/setup-rust-toolchain
  dependency-version: 1.14.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-06 20:26:52 +00:00
Rob Ede d1d45f1621
ci: pin time crate in msrv 2025-09-06 21:15:55 +01:00
28 changed files with 465 additions and 272 deletions

View File

@ -2,6 +2,7 @@ version: "0.2"
words: words:
- actix - actix
- addrs - addrs
- bytestring
- clippy - clippy
- deque - deque
- itertools - itertools
@ -13,6 +14,7 @@ words:
- rcgen - rcgen
- Rustls - Rustls
- rustup - rustup
- serde
- spki - spki
- uring - uring
- webpki - webpki

View File

@ -59,12 +59,12 @@ jobs:
echo "RUSTFLAGS=-C target-feature=+crt-static" >> $GITHUB_ENV echo "RUSTFLAGS=-C target-feature=+crt-static" >> $GITHUB_ENV
- name: Install Rust (${{ matrix.version }}) - name: Install Rust (${{ matrix.version }})
uses: actions-rust-lang/setup-rust-toolchain@v1.14.0 uses: actions-rust-lang/setup-rust-toolchain@v1.15.2
with: with:
toolchain: ${{ matrix.version }} toolchain: ${{ matrix.version }}
- name: Install just, cargo-hack, cargo-nextest, cargo-ci-cache-clean - name: Install just, cargo-hack, cargo-nextest, cargo-ci-cache-clean
uses: taiki-e/install-action@v2.58.21 uses: taiki-e/install-action@v2.62.39
with: with:
tool: just,cargo-hack,cargo-nextest,cargo-ci-cache-clean tool: just,cargo-hack,cargo-nextest,cargo-ci-cache-clean
@ -116,12 +116,12 @@ jobs:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
- name: Install Rust (nightly) - name: Install Rust (nightly)
uses: actions-rust-lang/setup-rust-toolchain@v1.14.0 uses: actions-rust-lang/setup-rust-toolchain@v1.15.2
with: with:
toolchain: nightly toolchain: nightly
- name: Install cargo-hack & cargo-minimal-versions - name: Install cargo-hack & cargo-minimal-versions
uses: taiki-e/install-action@v2.58.21 uses: taiki-e/install-action@v2.62.39
with: with:
tool: cargo-hack,cargo-minimal-versions tool: cargo-hack,cargo-minimal-versions

View File

@ -68,12 +68,12 @@ jobs:
echo "RUSTFLAGS=-C target-feature=+crt-static" >> $GITHUB_ENV echo "RUSTFLAGS=-C target-feature=+crt-static" >> $GITHUB_ENV
- name: Install Rust (${{ matrix.version.name }}) - name: Install Rust (${{ matrix.version.name }})
uses: actions-rust-lang/setup-rust-toolchain@v1.14.0 uses: actions-rust-lang/setup-rust-toolchain@v1.15.2
with: with:
toolchain: ${{ matrix.version.version }} toolchain: ${{ matrix.version.version }}
- name: Install just, cargo-hack, cargo-nextest, cargo-ci-cache-clean - name: Install just, cargo-hack, cargo-nextest, cargo-ci-cache-clean
uses: taiki-e/install-action@v2.58.21 uses: taiki-e/install-action@v2.62.39
with: with:
tool: just,cargo-hack,cargo-nextest,cargo-ci-cache-clean tool: just,cargo-hack,cargo-nextest,cargo-ci-cache-clean
@ -120,12 +120,12 @@ jobs:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
- name: Install Rust (nightly) - name: Install Rust (nightly)
uses: actions-rust-lang/setup-rust-toolchain@v1.14.0 uses: actions-rust-lang/setup-rust-toolchain@v1.15.2
with: with:
toolchain: nightly toolchain: nightly
- name: Install just - name: Install just
uses: taiki-e/install-action@v2.58.21 uses: taiki-e/install-action@v2.62.39
with: with:
tool: just tool: just

View File

@ -18,12 +18,12 @@ jobs:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
- name: Install Rust - name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1.14.0 uses: actions-rust-lang/setup-rust-toolchain@v1.15.2
with: with:
components: llvm-tools-preview components: llvm-tools-preview
- name: Install cargo-llvm-cov - name: Install cargo-llvm-cov
uses: taiki-e/install-action@v2.58.21 uses: taiki-e/install-action@v2.62.39
with: with:
tool: cargo-llvm-cov tool: cargo-llvm-cov
@ -31,7 +31,7 @@ jobs:
run: cargo llvm-cov --workspace --all-features --codecov --output-path codecov.json run: cargo llvm-cov --workspace --all-features --codecov --output-path codecov.json
- name: Upload coverage to Codecov - name: Upload coverage to Codecov
uses: codecov/codecov-action@v5.5.0 uses: codecov/codecov-action@v5.5.1
with: with:
files: codecov.json files: codecov.json
fail_ci_if_error: true fail_ci_if_error: true

View File

@ -18,7 +18,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
- uses: actions-rust-lang/setup-rust-toolchain@v1.14.0 - uses: actions-rust-lang/setup-rust-toolchain@v1.15.2
with: with:
toolchain: nightly toolchain: nightly
components: rustfmt components: rustfmt
@ -35,7 +35,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
- uses: actions-rust-lang/setup-rust-toolchain@v1.14.0 - uses: actions-rust-lang/setup-rust-toolchain@v1.15.2
with: { components: clippy } with: { components: clippy }
- uses: giraffate/clippy-action@v1.0.1 - uses: giraffate/clippy-action@v1.0.1
@ -51,17 +51,17 @@ jobs:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
- name: Install Rust (${{ vars.RUST_VERSION_EXTERNAL_TYPES }}) - name: Install Rust (${{ vars.RUST_VERSION_EXTERNAL_TYPES }})
uses: actions-rust-lang/setup-rust-toolchain@v1.14.0 uses: actions-rust-lang/setup-rust-toolchain@v1.15.2
with: with:
toolchain: ${{ vars.RUST_VERSION_EXTERNAL_TYPES }} toolchain: ${{ vars.RUST_VERSION_EXTERNAL_TYPES }}
- name: Install just - name: Install just
uses: taiki-e/install-action@v2.58.21 uses: taiki-e/install-action@v2.62.39
with: with:
tool: just tool: just
- name: Install cargo-check-external-types - name: Install cargo-check-external-types
uses: taiki-e/cache-cargo-install-action@v2.3.0 uses: taiki-e/cache-cargo-install-action@v2.3.1
with: with:
tool: cargo-check-external-types tool: cargo-check-external-types

611
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,7 @@ homepage = "https://actix.rs"
repository = "https://github.com/actix/actix-net" repository = "https://github.com/actix/actix-net"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
edition = "2021" edition = "2021"
rust-version = "1.75" rust-version = "1.76"
[patch.crates-io] [patch.crates-io]
actix-codec = { path = "actix-codec" } actix-codec = { path = "actix-codec" }

View File

@ -2,7 +2,7 @@
## Unreleased ## Unreleased
- Minimum supported Rust version (MSRV) is now 1.75. - Minimum supported Rust version (MSRV) is now 1.76.
## 0.5.2 ## 0.5.2

View File

@ -2,7 +2,7 @@
## Unreleased ## Unreleased
- Minimum supported Rust version (MSRV) is now 1.75. - Minimum supported Rust version (MSRV) is now 1.76.
## 0.2.4 ## 0.2.4

View File

@ -2,6 +2,8 @@
## Unreleased ## Unreleased
- Minimum supported Rust version (MSRV) is now 1.76.
## 2.11.0 ## 2.11.0
- Implement `ActixStream` for `tokio::io::BufReader<IO>`. - Implement `ActixStream` for `tokio::io::BufReader<IO>`.

View File

@ -2,6 +2,8 @@
## Unreleased ## Unreleased
- Minimum supported Rust version (MSRV) is now 1.76.
## 2.6.0 ## 2.6.0
- Add `ServerBuilder::shutdown_signal()` method. - Add `ServerBuilder::shutdown_signal()` method.

View File

@ -2,7 +2,7 @@
## Unreleased ## Unreleased
- Minimum supported Rust version (MSRV) is now 1.75. - Minimum supported Rust version (MSRV) is now 1.76.
## 2.0.3 ## 2.0.3

View File

@ -2,7 +2,7 @@
## Unreleased ## Unreleased
- Minimum supported Rust version (MSRV) is now 1.75. - Minimum supported Rust version (MSRV) is now 1.76.
## 3.4.0 ## 3.4.0

View File

@ -51,12 +51,12 @@ rustls-0_21-native-roots = ["tokio-rustls-024", "dep:rustls-native-certs-06"]
# use rustls v0.22 impls # use rustls v0.22 impls
rustls-0_22 = ["dep:tokio-rustls-025", "dep:rustls-pki-types-1"] rustls-0_22 = ["dep:tokio-rustls-025", "dep:rustls-pki-types-1"]
rustls-0_22-webpki-roots = ["rustls-0_22", "dep:webpki-roots-026"] rustls-0_22-webpki-roots = ["rustls-0_22", "dep:webpki-roots-026"]
rustls-0_22-native-roots = ["rustls-0_22", "dep:rustls-native-certs-07"] rustls-0_22-native-roots = ["rustls-0_22", "dep:rustls-native-certs-08"]
# use rustls v0.23 impls # use rustls v0.23 impls
rustls-0_23 = ["dep:tokio-rustls-026", "dep:rustls-pki-types-1"] rustls-0_23 = ["dep:tokio-rustls-026", "dep:rustls-pki-types-1"]
rustls-0_23-webpki-roots = ["rustls-0_23", "dep:webpki-roots-026"] rustls-0_23-webpki-roots = ["rustls-0_23", "dep:webpki-roots-026"]
rustls-0_23-native-roots = ["rustls-0_23", "dep:rustls-native-certs-07"] rustls-0_23-native-roots = ["rustls-0_23", "dep:rustls-native-certs-08"]
# use native-tls impls # use native-tls impls
native-tls = ["dep:tokio-native-tls"] native-tls = ["dep:tokio-native-tls"]
@ -105,7 +105,7 @@ webpki-roots-026 = { package = "webpki-roots", version = "0.26", optional = true
# native root certificates for rustls impls # native root certificates for rustls impls
rustls-native-certs-06 = { package = "rustls-native-certs", version = "0.6", optional = true } rustls-native-certs-06 = { package = "rustls-native-certs", version = "0.6", optional = true }
rustls-native-certs-07 = { package = "rustls-native-certs", version = "0.7", optional = true } rustls-native-certs-08 = { package = "rustls-native-certs", version = "0.8", optional = true }
# native-tls # native-tls
tokio-native-tls = { version = "0.3", optional = true } tokio-native-tls = { version = "0.3", optional = true }
@ -120,12 +120,12 @@ actix-rt = "2.2"
actix-server = "2" actix-server = "2"
bytes = "1" bytes = "1"
futures-util = { version = "0.3.17", default-features = false, features = ["sink"] } futures-util = { version = "0.3.17", default-features = false, features = ["sink"] }
hickory-resolver = "0.25"
itertools = "0.14" itertools = "0.14"
pretty_env_logger = "0.5" pretty_env_logger = "0.5"
rcgen = "0.13" rcgen = "0.13"
rustls-pemfile = "2" rustls-pemfile = "2"
tokio-rustls-026 = { package = "tokio-rustls", version = "0.26" } tokio-rustls-026 = { package = "tokio-rustls", version = "0.26" }
trust-dns-resolver = "0.23"
[[example]] [[example]]
name = "accept-rustls" name = "accept-rustls"

View File

@ -13,11 +13,11 @@ use futures_core::future::LocalBoxFuture;
/// use actix_tls::connect::{Resolve, Resolver}; /// use actix_tls::connect::{Resolve, Resolver};
/// use futures_util::future::LocalBoxFuture; /// use futures_util::future::LocalBoxFuture;
/// ///
/// // use trust-dns async tokio resolver /// // use Hickory DNS tokio resolver
/// use trust_dns_resolver::TokioAsyncResolver; /// use hickory_resolver::TokioResolver;
/// ///
/// struct MyResolver { /// struct MyResolver {
/// trust_dns: TokioAsyncResolver, /// hickory_dns: TokioResolver,
/// }; /// };
/// ///
/// // impl Resolve trait and convert given host address str and port to SocketAddr. /// // impl Resolve trait and convert given host address str and port to SocketAddr.
@ -29,7 +29,7 @@ use futures_core::future::LocalBoxFuture;
/// ) -> LocalBoxFuture<'a, Result<Vec<SocketAddr>, Box<dyn std::error::Error>>> { /// ) -> LocalBoxFuture<'a, Result<Vec<SocketAddr>, Box<dyn std::error::Error>>> {
/// Box::pin(async move { /// Box::pin(async move {
/// let res = self /// let res = self
/// .trust_dns /// .hickory_dns
/// .lookup_ip(host) /// .lookup_ip(host)
/// .await? /// .await?
/// .iter() /// .iter()
@ -41,7 +41,7 @@ use futures_core::future::LocalBoxFuture;
/// } /// }
/// ///
/// let my_resolver = MyResolver { /// let my_resolver = MyResolver {
/// trust_dns: TokioAsyncResolver::tokio_from_system_conf().unwrap(), /// hickory_dns: TokioResolver::builder_tokio().unwrap().build(),
/// }; /// };
/// ///
/// // wrap custom resolver /// // wrap custom resolver

View File

@ -35,12 +35,17 @@ pub mod reexports {
/// ///
/// See [`rustls_native_certs::load_native_certs()`] for more info on behavior and errors. /// See [`rustls_native_certs::load_native_certs()`] for more info on behavior and errors.
/// ///
/// [`rustls_native_certs::load_native_certs()`]: rustls_native_certs_07::load_native_certs() /// [`rustls_native_certs::load_native_certs()`]: rustls_native_certs_08::load_native_certs()
#[cfg(feature = "rustls-0_22-native-roots")] #[cfg(feature = "rustls-0_22-native-roots")]
pub fn native_roots_cert_store() -> io::Result<tokio_rustls::rustls::RootCertStore> { pub fn native_roots_cert_store() -> io::Result<tokio_rustls::rustls::RootCertStore> {
let mut root_certs = tokio_rustls::rustls::RootCertStore::empty(); let mut root_certs = tokio_rustls::rustls::RootCertStore::empty();
for cert in rustls_native_certs_07::load_native_certs()? { let certs = rustls_native_certs_08::load_native_certs();
if let Some(err) = certs.errors.into_iter().next() {
return Err(io::Error::other(err));
}
for cert in certs.certs {
root_certs.add(cert).unwrap(); root_certs.add(cert).unwrap();
} }

View File

@ -35,12 +35,17 @@ pub mod reexports {
/// ///
/// See [`rustls_native_certs::load_native_certs()`] for more info on behavior and errors. /// See [`rustls_native_certs::load_native_certs()`] for more info on behavior and errors.
/// ///
/// [`rustls_native_certs::load_native_certs()`]: rustls_native_certs_07::load_native_certs() /// [`rustls_native_certs::load_native_certs()`]: rustls_native_certs_08::load_native_certs()
#[cfg(feature = "rustls-0_23-native-roots")] #[cfg(feature = "rustls-0_23-native-roots")]
pub fn native_roots_cert_store() -> io::Result<tokio_rustls::rustls::RootCertStore> { pub fn native_roots_cert_store() -> io::Result<tokio_rustls::rustls::RootCertStore> {
let mut root_certs = tokio_rustls::rustls::RootCertStore::empty(); let mut root_certs = tokio_rustls::rustls::RootCertStore::empty();
for cert in rustls_native_certs_07::load_native_certs()? { let certs = rustls_native_certs_08::load_native_certs();
if let Some(err) = certs.errors.into_iter().next() {
return Err(io::Error::other(err));
}
for cert in certs.certs {
root_certs.add(cert).unwrap(); root_certs.add(cert).unwrap();
} }

View File

@ -2,7 +2,7 @@
#![doc(html_logo_url = "https://actix.rs/img/logo.png")] #![doc(html_logo_url = "https://actix.rs/img/logo.png")]
#![doc(html_favicon_url = "https://actix.rs/favicon.ico")] #![doc(html_favicon_url = "https://actix.rs/favicon.ico")]
#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![cfg_attr(docsrs, feature(doc_cfg))]
#[cfg(feature = "openssl")] #[cfg(feature = "openssl")]
#[allow(unused_extern_crates)] #[allow(unused_extern_crates)]

View File

@ -50,12 +50,12 @@ async fn custom_resolver_connect() {
Connector::new(resolver) Connector::new(resolver)
} }
use trust_dns_resolver::TokioAsyncResolver; use hickory_resolver::TokioResolver;
let srv = TestServer::start(|| fn_service(|_io: TcpStream| async { Ok::<_, io::Error>(()) })); let srv = TestServer::start(|| fn_service(|_io: TcpStream| async { Ok::<_, io::Error>(()) }));
struct MyResolver { struct MyResolver {
trust_dns: TokioAsyncResolver, hickory_dns: TokioResolver,
} }
impl Resolve for MyResolver { impl Resolve for MyResolver {
@ -66,7 +66,7 @@ async fn custom_resolver_connect() {
) -> LocalBoxFuture<'a, Result<Vec<SocketAddr>, Box<dyn std::error::Error>>> { ) -> LocalBoxFuture<'a, Result<Vec<SocketAddr>, Box<dyn std::error::Error>>> {
Box::pin(async move { Box::pin(async move {
let res = self let res = self
.trust_dns .hickory_dns
.lookup_ip(host) .lookup_ip(host)
.await? .await?
.iter() .iter()
@ -78,7 +78,7 @@ async fn custom_resolver_connect() {
} }
let resolver = MyResolver { let resolver = MyResolver {
trust_dns: TokioAsyncResolver::tokio_from_system_conf().unwrap(), hickory_dns: TokioResolver::builder_tokio().unwrap().build(),
}; };
let factory = connector_factory(Resolver::custom(resolver)); let factory = connector_factory(Resolver::custom(resolver));

View File

@ -2,7 +2,7 @@
## Unreleased ## Unreleased
- Minimum supported Rust version (MSRV) is now 1.75. - Minimum supported Rust version (MSRV) is now 1.76.
## 0.1.0 ## 0.1.0

View File

@ -2,7 +2,7 @@
## Unreleased ## Unreleased
- Minimum supported Rust version (MSRV) is now 1.75. - Minimum supported Rust version (MSRV) is now 1.76.
## 3.0.1 ## 3.0.1

View File

@ -2,7 +2,13 @@
## Unreleased ## Unreleased
- Minimum supported Rust version (MSRV) is now 1.76.
## 1.5.0
- Migrate `serde` dependency to `serde_core`.
- Minimum supported Rust version (MSRV) is now 1.75. - Minimum supported Rust version (MSRV) is now 1.75.
- Switch `serde` to `serde_core`
## 1.4.0 ## 1.4.0

View File

@ -1,6 +1,6 @@
[package] [package]
name = "bytestring" name = "bytestring"
version = "1.4.0" version = "1.5.0"
description = "A UTF-8 encoded read-only string using `Bytes` as storage" description = "A UTF-8 encoded read-only string using `Bytes` as storage"
authors = ["Nikolay Kim <fafhrd91@gmail.com>", "Rob Ede <robjtede@icloud.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>", "Rob Ede <robjtede@icloud.com>"]
keywords = ["string", "bytes", "utf8", "web", "bytestring"] keywords = ["string", "bytes", "utf8", "web", "bytestring"]
@ -12,11 +12,14 @@ edition.workspace = true
rust-version.workspace = true rust-version.workspace = true
[package.metadata.cargo_check_external_types] [package.metadata.cargo_check_external_types]
allowed_external_types = ["bytes::*", "serde::*"] allowed_external_types = ["bytes::*", "serde_core::*"]
[features]
serde = ["dep:serde_core"]
[dependencies] [dependencies]
bytes = { version = "1.2", default-features = false } bytes = { version = "1.2", default-features = false }
serde = { version = "1", optional = true } serde_core = { version = "1", optional = true }
[dev-dependencies] [dev-dependencies]
ahash = { version = "0.8", default-features = false } ahash = { version = "0.8", default-features = false }

View File

@ -5,11 +5,11 @@
<!-- prettier-ignore-start --> <!-- prettier-ignore-start -->
[![crates.io](https://img.shields.io/crates/v/bytestring?label=latest)](https://crates.io/crates/bytestring) [![crates.io](https://img.shields.io/crates/v/bytestring?label=latest)](https://crates.io/crates/bytestring)
[![Documentation](https://docs.rs/bytestring/badge.svg?version=1.4.0)](https://docs.rs/bytestring/1.4.0) [![Documentation](https://docs.rs/bytestring/badge.svg?version=1.5.0)](https://docs.rs/bytestring/1.5.0)
[![Version](https://img.shields.io/badge/rustc-1.52+-ab6000.svg)](https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html) [![Version](https://img.shields.io/badge/rustc-1.52+-ab6000.svg)](https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html)
![MIT or Apache 2.0 licensed](https://img.shields.io/crates/l/bytestring.svg) ![MIT or Apache 2.0 licensed](https://img.shields.io/crates/l/bytestring.svg)
<br /> <br />
[![Dependency Status](https://deps.rs/crate/bytestring/1.4.0/status.svg)](https://deps.rs/crate/bytestring/1.4.0) [![Dependency Status](https://deps.rs/crate/bytestring/1.5.0/status.svg)](https://deps.rs/crate/bytestring/1.5.0)
![Download](https://img.shields.io/crates/d/bytestring.svg) ![Download](https://img.shields.io/crates/d/bytestring.svg)
[![Chat on Discord](https://img.shields.io/discord/771444961383153695?label=chat&logo=discord)](https://discord.gg/NWpN5mmg3x) [![Chat on Discord](https://img.shields.io/discord/771444961383153695?label=chat&logo=discord)](https://discord.gg/NWpN5mmg3x)

View File

@ -275,7 +275,7 @@ impl fmt::Display for ByteString {
mod serde { mod serde {
use alloc::string::String; use alloc::string::String;
use serde::{ use serde_core::{
de::{Deserialize, Deserializer}, de::{Deserialize, Deserializer},
ser::{Serialize, Serializer}, ser::{Serialize, Serializer},
}; };
@ -304,7 +304,7 @@ mod serde {
#[cfg(test)] #[cfg(test)]
mod serde_impl_tests { mod serde_impl_tests {
use serde::de::DeserializeOwned; use serde_core::de::DeserializeOwned;
use static_assertions::assert_impl_all; use static_assertions::assert_impl_all;
use super::*; use super::*;

View File

@ -30,6 +30,7 @@ downgrade-for-msrv:
cargo {{ toolchain }} update -p=litemap --precise=0.7.4 # next ver: 1.81.0 cargo {{ toolchain }} update -p=litemap --precise=0.7.4 # next ver: 1.81.0
cargo {{ toolchain }} update -p=zerofrom --precise=0.1.5 # next ver: 1.81.0 cargo {{ toolchain }} update -p=zerofrom --precise=0.1.5 # next ver: 1.81.0
cargo {{ toolchain }} update -p=half --precise=2.4.1 # next ver: 1.81.0 cargo {{ toolchain }} update -p=half --precise=2.4.1 # next ver: 1.81.0
cargo {{ toolchain }} update -p=time --precise=0.3.41 # next ver: 1.81.0
msrv := ``` msrv := ```
cargo metadata --format-version=1 \ cargo metadata --format-version=1 \

View File

@ -2,7 +2,7 @@
## Unreleased ## Unreleased
- Minimum supported Rust version (MSRV) is now 1.75. - Minimum supported Rust version (MSRV) is now 1.76.
## 0.1.5 ## 0.1.5

View File

@ -2,7 +2,7 @@
## Unreleased ## Unreleased
- Minimum supported Rust version (MSRV) is now 1.75. - Minimum supported Rust version (MSRV) is now 1.76.
## 0.1.4 ## 0.1.4