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

Ability to configure out client/server support via feature flags #56

Open
kanpov opened this issue Oct 20, 2024 · 1 comment
Open

Ability to configure out client/server support via feature flags #56

kanpov opened this issue Oct 20, 2024 · 1 comment

Comments

@kanpov
Copy link

kanpov commented Oct 20, 2024

I.e. put the sftp client behind client feature and server behind server feature, so that client-only applications don't need to pull in server code (or have it be optimized away by LTO at the cost of an increase in linking time) and vice versa for server-only applications. If both are enabled as default features, this wouldn't be a breaking change.

Would this be acceptable?

@AspectUnk
Copy link
Owner

Sure. PR welcome

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

No branches or pull requests

2 participants