Skip to content

updated deps, removed rustls-tls because that feature no longer exist…#7

Open
Havunen wants to merge 1 commit into
ory:masterfrom
Havunen:master
Open

updated deps, removed rustls-tls because that feature no longer exist…#7
Havunen wants to merge 1 commit into
ory:masterfrom
Havunen:master

Conversation

@Havunen
Copy link
Copy Markdown

@Havunen Havunen commented May 20, 2026

… in reqwest

Related Issue or Design Document

Checklist

  • I have read the contributing guidelines and signed the CLA.
  • I have referenced an issue containing the design document if my change introduces a new feature.
  • I have read the security policy.
  • I confirm that this pull request does not address a security vulnerability.
    If this pull request addresses a security vulnerability,
    I confirm that I got approval (please contact security@ory.com) from the maintainers to push the changes.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added the necessary documentation within the code base (if appropriate).

Further comments

Summary by CodeRabbit

  • Chores
    • Updated project dependencies to latest compatible versions for improved stability and security.

Review Change Stack

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 20, 2026

📝 Walkthrough

Walkthrough

This PR updates Cargo.toml with dependency version bumps for serde_with (^3.8 to ^3.20), uuid (^1.8 to ^1.23), and reqwest (^0.12 to ^0.13). The reqwest features are expanded to include query and form while keeping default-features = false. The crate's rustls-tls feature is removed.

Changes

Dependency Updates and Feature Cleanup

Layer / File(s) Summary
Dependency versions and reqwest feature flags
Cargo.toml
serde_with bumped from ^3.8 to ^3.20, uuid from ^1.8 to ^1.23, and reqwest from ^0.12 to ^0.13; reqwest features expanded to include query and form while continuing to disable default features.
Crate feature declarations cleanup
Cargo.toml
The rustls-tls feature mapping is removed; default and native-tls features remain in place.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is severely incomplete. It contains only the template text with minimal actual description of changes, no issue/design document reference, and incomplete checklist with two unchecked critical items. Add a clear description of why dependencies were updated and why rustls-tls was removed. Reference the related issue/design document. Complete the remaining checklist items or explain why they don't apply.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main changes: updating dependencies and removing the rustls-tls feature from reqwest, which aligns with the actual Cargo.toml modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

Review ran into problems

🔥 Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review. If the issue persists, set path_filters to include or exclude specific files.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@Cargo.toml`:
- Around line 18-20: Add a breaking-change note to the project docs explaining
that the rustls-tls feature was removed: update the changelog or add a migration
guide stating that the rustls-tls feature is no longer available, that removal
was necessary because reqwest dropped support for rustls, and provide migration
instructions telling users to either keep using native-tls (the default feature
name native-tls) or to configure TLS via reqwest feature flags (reference
reqwest) or external TLS configuration; mention the commit (0aca9d9) as the
change origin and include example guidance on how to alter their Cargo.toml
feature selection accordingly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 05da03aa-1c9d-44a8-afd0-d31be40385da

📥 Commits

Reviewing files that changed from the base of the PR and between 728145d and 0aca9d9.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • Cargo.toml

Comment thread Cargo.toml
Comment on lines 18 to 20
[features]
default = ["native-tls"]
native-tls = ["reqwest/native-tls"]
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Find references to rustls-tls feature in docs and code

echo "Checking README and documentation..."
fd -e md -e txt -e rst --exec rg -l "rustls" {}

echo "Checking for rustls-tls in feature gates..."
rg "cfg.*feature.*rustls" --type rust -C3

echo "Checking examples and tests..."
fd "example|test" --type d --exec rg -l "rustls" {}

Repository: ory/client-rust

Length of output: 171


🏁 Script executed:

#!/bin/bash
# Find changelog and migration documentation
echo "=== Looking for changelog files ==="
fd -type f \( -name "*CHANGE*" -o -name "*HISTORY*" -o -name "*MIGRATION*" -o -name "*RELEASE*" \) | head -20

echo ""
echo "=== Checking full Cargo.toml content ==="
cat Cargo.toml

echo ""
echo "=== Searching for any rustls mentions in all files ==="
rg "rustls" --no-heading -i

echo ""
echo "=== Checking for comments about feature removal ==="
rg "feature.*remov" --type rust -i -C2

Repository: ory/client-rust

Length of output: 1120


🏁 Script executed:

#!/bin/bash
# Check git history for rustls and feature changes
echo "=== Git log for Cargo.toml (last 20 commits) ==="
git log --oneline -20 Cargo.toml

echo ""
echo "=== Full history of [features] section in Cargo.toml ==="
git log -p Cargo.toml | grep -A5 -B5 "\[features\]" | head -80

Repository: ory/client-rust

Length of output: 255


Document the rustls-tls feature removal as a breaking change.

The rustls-tls feature has been removed from this crate (commit 0aca9d9) because the underlying reqwest crate no longer supports it. The code removal is clean with no dangling references. However, there is no changelog or migration guide explaining this breaking change to users. Users upgrading to this version will encounter build failures without clear guidance.

Add documentation (CHANGELOG.md or migration guide) explaining:

  1. The rustls-tls feature has been removed
  2. Why (reqwest deprecated the feature)
  3. Migration path: Users should either use native-tls or configure TLS externally via reqwest's feature flags
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@Cargo.toml` around lines 18 - 20, Add a breaking-change note to the project
docs explaining that the rustls-tls feature was removed: update the changelog or
add a migration guide stating that the rustls-tls feature is no longer
available, that removal was necessary because reqwest dropped support for
rustls, and provide migration instructions telling users to either keep using
native-tls (the default feature name native-tls) or to configure TLS via reqwest
feature flags (reference reqwest) or external TLS configuration; mention the
commit (0aca9d9) as the change origin and include example guidance on how to
alter their Cargo.toml feature selection accordingly.

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.

2 participants