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

Put service-binding dependency under agent feature #92

Merged
merged 5 commits into from
Oct 25, 2024

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.

Signed-off-by: Mat Jones <mat@mjones.network>
@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! 👋

Signed-off-by: Wiktor Kwapisiewicz <wiktor@metacode.biz>
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