Skip to content

Conversation

@Berrysoft
Copy link
Member

I'm not that sure if it should be considered as a breaking change.

@Berrysoft Berrysoft self-assigned this Nov 11, 2025
Copilot finished reviewing on behalf of Berrysoft November 11, 2025 13:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR restructures the TLS and WebSocket feature flags in the main compio crate to provide more granular control over optional dependencies. The changes decouple feature dependencies to allow users to enable rustls or native-tls without automatically enabling the base tls feature, and similarly separates WebSocket connectivity features from the base ws feature.

Key changes:

  • Decouples native-tls and rustls features from the base tls feature using optional dependency syntax (compio-tls?/)
  • Separates ws-connect feature from the base ws feature, removing the implicit connect dependency
  • Adds tls feature to the all feature bundle and renames ws-rustls to ws-connect

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@George-Miao George-Miao left a comment

Choose a reason for hiding this comment

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

I think this is a breaking change, though not sure. LGTM.

@Berrysoft
Copy link
Member Author

Let's postpone this PR then.

@Berrysoft Berrysoft merged commit 70ceb41 into compio-rs:master Nov 14, 2025
47 checks passed
@Berrysoft Berrysoft deleted the refactor/features branch November 14, 2025 04:11
Berrysoft added a commit to Berrysoft/compio that referenced this pull request Nov 16, 2025
Berrysoft added a commit that referenced this pull request Nov 16, 2025
* Revert "feat: adjust features (#508)"

This reverts commit 70ceb41.

* feat: adjust features without breaking

* feat: bump versions

* feat: reintroduce "ws-connect"
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