Skip to content

Conversation

mrjones2014
Copy link
Contributor

Hello!

Over at 1Password, we're looking into replacing ssh-agent.rs with this library. However, we're mainly just using the proto and codec modules (e.g. we use default-features = false, features = ["codec"]). It looks like the service-binding dependency is only used in the agent feature, and since we aren't using it, we'd like to avoid pulling it into our dependency tree.

This PR makes service-binding optional and pulls it in via the agent feature.

@wiktor-k
Copy link
Owner

Yep. Excellent idea. There's just one unrelated issue with a yanked crate. I'll adjust it tomorrow and we can merge this PR and release a new version.

Thanks for your contribution! 👋

Update `futures-util` dependency to avoid using yanked crate
@wiktor-k
Copy link
Owner

Okay, since #93 has been merged this could be rebased on top of main and off we go with the release process :)

@wiktor-k wiktor-k enabled auto-merge October 25, 2024 11:10
@mrjones2014
Copy link
Contributor Author

Done! Thanks for the quick turnaround!

@wiktor-k wiktor-k merged commit 7500315 into wiktor-k:main Oct 25, 2024
16 checks passed
@wiktor-k
Copy link
Owner

No problem. I've released v0.5.1 with your change: https://crates.io/crates/ssh-agent-lib/versions

Thanks for the contribution and have a nice day! 👋

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