parity-tokio-ipc icon indicating copy to clipboard operation
parity-tokio-ipc copied to clipboard

Parity tokio-ipc

Results 9 parity-tokio-ipc issues
Sort by recently updated
recently updated
newest added

This PR aims to convert all the possibles functions to `const fn` in order to be used in other `const fn` environments, but also includes several changes to cleanup the...

We should default to the most restrictive permissions that still allow the endpoint to be used.

Thanks for providing this crate. I'm new to rust and tokio, so please forgive me if this looks dumb. However, I encountered a hanging issue when using it on Windows....

This PR fixes `Cargo.toml` that mentions `winbase` feature twice for `winapi-rs` but lacks `winerror` that prevents compilation with the latest winapi-rs 0.3.9. ``` error[E0432]: unresolved import `winapi::shared::winerror` --> C:\Users\pronebird\.cargo\registry\src\index.crates.io-6f17d22bba15001f\parity-tokio-ipc-0.9.0\src\win.rs:1:21 |...

It doesn't seem that parity-tokio-ipc can be built any longer on my windows 11 box: ``` error[E0432]: unresolved import `winapi::shared::winerror` --> C:\Users\pronebird\.cargo\registry\src\index.crates.io-6f17d22bba15001f\parity-tokio-ipc-0.9.0\src\win.rs:1:21 | 1 | use winapi::shared::winerror::{ERROR_PIPE_BUSY, ERROR_SUCCESS}; | ^^^^^^^^...

This fixes the build on Windows. I suggest that you make a new minor release, since this breaks for users of this crate.

I have two IPC endpoints: the server part is a system service which calls `Endpoint::new` and then `endpoint.set_security_attributes(SecurityAttributes::empty().allow_everyone_connect()`. The client part is a user-level app which does read/write to it....

This PR switches to an official Microsoft crate instead of unmaintained winapi-rs.