paritytech / parity-tokio-ipc

Parity tokio-ipc
Apache License 2.0
76 stars 48 forks source link

Add missing winerror feature #40

Open pronebird opened 10 months ago

pronebird commented 10 months ago

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
  |
1 | use winapi::shared::winerror::{ERROR_PIPE_BUSY, ERROR_SUCCESS};
  |                     ^^^^^^^^ could not find `winerror` in `shared`