Skip to content

Split build features - #244

Merged
iinuwa merged 9 commits into
mainfrom
split-build-features
Nov 2, 2026
Merged

iinuwa merged 9 commits into
mainfrom
split-build-features

Conversation

@iinuwa

@iinuwa iinuwa commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

This splits the build into features to allow building them separately:

  • daemon
  • GUI
  • web extension
  • demo client

Also fixes a missed version bump and dependency declarations (nfc, pcsclite) for credentialsd.

@iinuwa
iinuwa requested a review from msirringhaus October 19, 2026 13:25
msirringhaus
msirringhaus previously approved these changes Oct 19, 2026

@msirringhaus msirringhaus left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm. Do we want to add some lines to the docs on how to use it? I assume, for the "build everything"-path, usage stays the same.

@iinuwa

iinuwa commented Oct 30, 2026

Copy link
Copy Markdown
Member Author

Finally got around to regenerating the list of options in docs. Took like 3 seconds.

Also snuck in a rename of default profile to release, which is a breaking change for the packaging process but is a little clearer.

@msirringhaus msirringhaus left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm. Just a stray thought regarding the docs

Comment thread BUILDING.md
cargo_offline false [True, False] Whether to perform an offline build with
Cargo. Defaults to false to download crates
from registries.
feature_daemon auto [enabled, disabled, Whether to build the credentialsd daemon

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Just reading the docs, I don't think it's clear what exactly "auto" means here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yeah, I should explain it more inline. It essentially means it will build if it finds the necessary dependencies, and skip the build if not. Setting to enabled will fail the build on missing dependencies.

But this is a big: I meant to make this enabled by default. Only demo_client should be auto. I'll add a fixup on that.

@iinuwa
iinuwa merged commit 6ca87e5 into main Nov 2, 2026
2 checks passed
@iinuwa
iinuwa deleted the split-build-features branch November 2, 2026 13:37
@iinuwa iinuwa mentioned this pull request Nov 2, 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.

2 participants