-
Notifications
You must be signed in to change notification settings - Fork 88
additional-libs feature for keyring dependencies (secure store) #1977
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- move write_to_secure_store to keyring.rs
d0ce2cd
to
f35699a
Compare
In upcoming refactors, secret.rs and locator.rs are going to depend on secure_store directly, instead of keyring.rs so that keyring.rs can be entirely behind a feature flag. Without the changes in this commit there is a cyclical dependency on secret -> secure_store -> secret. Same for locator.
this mod is only included when the feature is enabled
0c3534f
to
3e1be6a
Compare
3e1be6a
to
ac6013d
Compare
Ifropc
reviewed
Apr 4, 2025
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.
Could you update binaries
workflow to enable additional-libs
there as well?
And also Make install
e08da9a
to
8b9e16d
Compare
Ifropc
approved these changes
Apr 17, 2025
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.
LGTM!
…ng) (#2011) * Add stellar-ledger crate to additional-libs feature, and make optional * Create a GenericLedger for when additional-libs feature is not enabled * Change ledger::ledger fn to ledger::new * Simplify ledger_impl * Move stellar-ledger specific things to ledger_impl * Move ledger feature switching to ledger.rs * Enable additional-libs in emulator workflow
fnando
approved these changes
Apr 22, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Adds an
additional-libs
feature so that users can build and use the CLI (without keyring support) without havinglibdbus-1-dev
installed on their systemWhy
Allows for a smaller binary, and less system dependencies.
Known limitations
This PR only handles the keyring dependencies, I'll put the ledger work in a separate PR: #2011
Also, I still need to do a bit more testing of this change on a linux vm.tested on macos and ubuntu