AspectUnk / russh-sftp

SFTP subsystem supported server and client for Russh
Apache License 2.0
64 stars 22 forks source link

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

Open kanpov opened 1 week ago

kanpov commented 1 week ago

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 commented 1 week ago

Sure. PR welcome