Skip to content
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

Allow building without usb/debug probes #528

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Allow building without usb/debug probes #528

wants to merge 1 commit into from

Conversation

labbott
Copy link
Contributor

@labbott labbott commented Jan 7, 2025

Humility was originally designed to be used with a variety of debug probes. It's since grown the ability to take dumps over the network. There are situations/environments where it's useful to run in network only mode. Allow building without debug probes with cargo build --no-default-features.

To make this work with cargo features, the probes are pulled into a separate crate and the humility binary is moved to humilty-bin

Humility was originally designed to be used with a variety of
debug probes. It's since grown the ability to take dumps over the
network. There are situations/environments where it's useful to
run in network only mode. Allow building without debug probes
with `cargo build --no-default-features`.

To make this work with cargo features, the probes are pulled into
a separate crate and the humility binary is moved to `humilty-bin`
@@ -10,3 +10,9 @@ clap.workspace = true
humility.workspace = true
humility-net-core.workspace = true
humility-cli.workspace = true

humility-probes-core = {workspace = true, optional = true }
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit:

Suggested change
humility-probes-core = {workspace = true, optional = true }
humility-probes-core = { workspace = true, optional = true }

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