-
Notifications
You must be signed in to change notification settings - Fork 71
feat: adjust features #508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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-tlsandrustlsfeatures from the basetlsfeature using optional dependency syntax (compio-tls?/) - Separates
ws-connectfeature from the basewsfeature, removing the implicitconnectdependency - Adds
tlsfeature to theallfeature bundle and renamesws-rustlstows-connect
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
George-Miao
left a comment
There was a problem hiding this 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.
|
Let's postpone this PR then. |
66c9c44 to
ea75c49
Compare
This reverts commit 70ceb41.
I'm not that sure if it should be considered as a breaking change.