radicle-heartwood-lfs/crates/radicle-node/src/runtime
Lorenz Leutgeb 19a262d3d6 node: Use winpipe for control socket on Windows
As `std::os::unix` is obviously not available on Windows, resort to the
`winpipe` crate, which implements a very similar API for named pipes.

Apart from simple changes to imports, we need to jump through a few
hoops because the `std::io::{Read, Write}` impls are on `&mut` for
`winpipe`, thus yielding different mutability requirements on Unix vs.
Windows.

We resort to cloning, but as this fallible, swallow the added complexity
of a platform-dependent implementation to not risk panics on Unix.
2025-08-22 15:45:20 +01:00
..
handle.rs node: Use winpipe for control socket on Windows 2025-08-22 15:45:20 +01:00
thread.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00