mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 09:04:22 +01:00
The `cln-grpc` crate really has a dual purpose: server and client. Having the server feature be included by default means that we are pulling in `cln-rpc` which is a Unix only crate, because of the use of UDS to talk to CLN. We want to use `cln-grpc` on clients too, and those might not be Unix variants, hence they'd fail when compiling `cln-rpc`. This PR guards the Unix-related parts behind the `server` feature flag.