-
Notifications
You must be signed in to change notification settings - Fork 235
feat!: reduce default feature dependents #3005
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
Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/3005/docs/iroh/ Last updated: 2024-12-05T13:03:58Z |
d6d1e72
to
4d97824
Compare
#![cfg_attr( | ||
not(feature = "server"), | ||
doc = "- `server`: A fully-fledged iroh-relay server over HTTP or HTTPS." | ||
)] |
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.
😭
@@ -11,8 +11,16 @@ | |||
//! - [`protos::relay`]: The protocol used to communicate between relay servers and clients. It's a | |||
//! revised version of the Designated Encrypted Relay for Packets (DERP) protocol written by | |||
//! Tailscale. | |||
//! - [`server`]: A fully-fledged iroh-relay server over HTTP or HTTPS. Optionally will also | |||
//! expose a stun endpoint and metrics. | |||
#![cfg_attr( |
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.
🙄 are we doing this all the time now?
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.
because folks like links, and this is the only way to make them dependent on feature flags
Description
relay/server
default featuremetrics
feature as necessaryBreaking Changes
server
is not a default feature iniroh-relay
anymoreNotes & open questions
Change checklist