Skip to content

cargo install --no-default-features fails due to libudev dependency #2393

@leighmcculloch

Description

@leighmcculloch

What version are you using?

Latest version on crates.io.

What did you do?

Ran:

cargo install --locked stellar-cli --no-default-features

What did you expect to see?

The CLI should build successfully without any additional system libraries when --no-default-features is passed. Disabling default features should disable the additional-libs feature that pulls in additional library dependencies, allowing a minimal build of the CLI.

What did you see instead?

The build fails because it still requires libudev to be installed, even though --no-default-features should have turned off all features that depend on additional system libraries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions