Skip to content

Make curl dependency for agama-network optional via feature#3332

Open
jcronenberg wants to merge 1 commit intoagama-project:masterfrom
jcronenberg:optional_curl
Open

Make curl dependency for agama-network optional via feature#3332
jcronenberg wants to merge 1 commit intoagama-project:masterfrom
jcronenberg:optional_curl

Conversation

@jcronenberg
Copy link
Contributor

Problem

Due to a dependency chain agama-network pulls in curl via agama-network -> agama-utils -> agama-transfer -> curl. With this comes a dependency on openssl which unfortunately for wicked2nm is a problem, because it fails to build on older SLE 15 SPs.

Solution

To circumvent this I added a default feature that excludes the affected parts from agama-network so it doesn't depend on agama-transfer.
This should have no actual impact on agama itself.

Due to a dependency chain agama-network pulls in curl via agama-network ->
agama-utils -> agama-transfer -> curl. With this comes a dependency on openssl
which unfortunately for wicked2nm is a problem, because it fails to build on
older SLE 15 SPs.
To circumvent this I added a default feature that excludes the affected parts
from agama-network so it doesn't depend on agama-transfer.
This should have no actual impact on agama itself.
@jcronenberg jcronenberg changed the title Add files feature to agama-utils making curl optional Make curl dependency for agama-network optional via feature Mar 25, 2026
@jcronenberg
Copy link
Contributor Author

Btw I decided to skip adding a changelog to rust/package/agama.changes because this doesn't have any functional changes to agama.

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.

1 participant