Skip to content

fix: Use weak deps for async/sync feature propagation#1812

Merged
gtema merged 1 commit into
mainfrom
feature
Jun 28, 2026
Merged

fix: Use weak deps for async/sync feature propagation#1812
gtema merged 1 commit into
mainfrom
feature

Conversation

@gtema

@gtema gtema commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Use the dep?/feature weak-dependency syntax so that enabling async or sync only propagates the feature flag to service crates that are already pulled in by their own feature (e.g. identity). Previously dep-name/feature implicitly enabled every optional service dependency, meaning async + identity would compile all service crates.

Assisted-by: Claude noreply@anthropic.com

Use the `dep?/feature` weak-dependency syntax so that enabling `async`
or `sync` only propagates the feature flag to service crates that are
already pulled in by their own feature (e.g. `identity`). Previously
`dep-name/feature` implicitly enabled every optional service dependency,
meaning `async + identity` would compile all service crates.

Assisted-by: Claude <noreply@anthropic.com>
Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
@gtema
gtema merged commit 00d974c into main Jun 28, 2026
24 checks passed
This was referenced Jun 26, 2026
@gtema-release-plz gtema-release-plz Bot mentioned this pull request Jul 11, 2026
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