Skip to content

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
merged 29 commits into from
Apr 22, 2025

Conversation

elizabethengelman
Copy link
Contributor

@elizabethengelman elizabethengelman commented Mar 19, 2025

What

Adds an additional-libs feature so that users can build and use the CLI (without keyring support) without having libdbus-1-dev installed on their system

Why

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

@github-project-automation github-project-automation bot moved this to Backlog (Not Ready) in DevX Mar 19, 2025
@elizabethengelman elizabethengelman force-pushed the feat/additional-libs-feature branch from d0ce2cd to f35699a Compare March 19, 2025 15:16
@elizabethengelman elizabethengelman force-pushed the feat/additional-libs-feature branch from 0c3534f to 3e1be6a Compare March 20, 2025 21:39
@elizabethengelman elizabethengelman marked this pull request as ready for review March 20, 2025 22:02
@elizabethengelman elizabethengelman force-pushed the feat/additional-libs-feature branch from 3e1be6a to ac6013d Compare March 24, 2025 18:16
Copy link
Contributor

@Ifropc Ifropc left a 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

@elizabethengelman elizabethengelman force-pushed the feat/additional-libs-feature branch from e08da9a to 8b9e16d Compare April 9, 2025 13:54
@elizabethengelman elizabethengelman moved this from Backlog (Not Ready) to In Progress in DevX Apr 16, 2025
@elizabethengelman elizabethengelman moved this from In Progress to Needs Review in DevX Apr 16, 2025
@elizabethengelman elizabethengelman changed the title Feat/additional libs feature additional-libs feature for keyring dependencies (secure store) Apr 16, 2025
@elizabethengelman elizabethengelman linked an issue Apr 16, 2025 that may be closed by this pull request
Copy link
Contributor

@Ifropc Ifropc left a 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
@elizabethengelman elizabethengelman enabled auto-merge (squash) April 22, 2025 14:49
@elizabethengelman elizabethengelman merged commit 14de539 into main Apr 22, 2025
34 checks passed
@elizabethengelman elizabethengelman deleted the feat/additional-libs-feature branch April 22, 2025 14:55
@github-project-automation github-project-automation bot moved this from Needs Review to Done in DevX Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Create ledger and keystore cargo features
3 participants