Skip to content

build: update reqwest dependencies and features for compatibility#197

Merged
l50 merged 1 commit intomainfrom
fix/reqwest-rustls-feature
Apr 15, 2026
Merged

build: update reqwest dependencies and features for compatibility#197
l50 merged 1 commit intomainfrom
fix/reqwest-rustls-feature

Conversation

@l50
Copy link
Copy Markdown
Contributor

@l50 l50 commented Apr 15, 2026

Key Changes:

  • Updated reqwest dependencies in multiple crates to improve feature set and compatibility
  • Added and adjusted features for reqwest, replacing deprecated rustls-tls with rustls and adding query
  • Synchronized thiserror versions in Cargo.lock for consistency
  • Fixed password hash formatting in credential deduplication

Added:

  • Additional reqwest features (rustls, query) to ares-llm and ares-tools for enhanced HTTP capability and compatibility

Changed:

  • Updated reqwest dependency specifications in ares-llm/Cargo.toml and ares-tools/Cargo.toml to use rustls and add query feature, removing deprecated rustls-tls
  • Updated Cargo.lock with new dependency versions and added packages required by the new reqwest and TLS configuration
  • Improved password hash formatting in build_credential_dedup_key to use a more explicit hex conversion, resolving potential issues with formatting

Removed:

  • Removed references to deprecated rustls-tls feature in reqwest dependencies for both ares-llm and ares-tools

**Added:**

- Introduced new dependencies in Cargo.lock to support reqwest's rustls backend, including aws-lc-rs, rustls-native-certs, rustls-platform-verifier, and associated platform libraries

**Changed:**

- Updated reqwest dependency in ares-llm and ares-tools to use "rustls" and "query" features instead of "rustls-tls" for improved TLS support and compatibility
- Modified password hash formatting in dedup_keys to ensure consistent two-digit hex output for each byte
- Updated multiple dependency versions and sources in Cargo.lock to reflect new requirements and feature sets, including more granular control over reqwest and thiserror versions

**Removed:**

- Eliminated references to the "webpki-roots" crate from Cargo.lock in favor of "webpki-root-certs" and platform-specific certificate handling
@l50 l50 force-pushed the fix/reqwest-rustls-feature branch from 7a0b1be to 5446c44 Compare April 15, 2026 19:41
@l50 l50 added this pull request to the merge queue Apr 15, 2026
Merged via the queue into main with commit 81663e1 Apr 15, 2026
9 checks passed
@l50 l50 deleted the fix/reqwest-rustls-feature branch April 15, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant