-
Notifications
You must be signed in to change notification settings - Fork 231
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Not sure if this is intended to work, but pgcat cannot be built on Windows 10.
If Windows is not a supported Platform, then please closed the issue.
Steps to reproduce the behavior:
- clone the pgcat git repository
- open a command line in that directory
- run
cargo build --release
Compiling fails with:
warning: use of deprecated function `base64::decode`: Use Engine::decode
--> src\scram.rs:84:34
|
84 | let salt = match base64::decode(&server_message.salt) {
| ^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated function `base64::encode`: Use Engine::encode
--> src\scram.rs:114:35
|
114 | let cbind_input = base64::encode(&cbind_input);
| ^^^^^^
warning: use of deprecated function `base64::encode`: Use Engine::encode
--> src\scram.rs:152:58
|
152 | match write!(&mut self.message, ",p={}", base64::encode(&*client_proof)) {
| ^^^^^^
warning: use of deprecated function `base64::decode`: Use Engine::decode
--> src\scram.rs:164:38
|
164 | let verifier = match base64::decode(&final_message.value) {
| ^^^^^^
warning: `pgcat` (lib) generated 4 warnings
error[E0432]: unresolved import `tokio::signal::unix`
--> src\main.rs:53:13
|
53 | signal::unix::{signal as unix_signal, SignalKind},
| ^^^^ could not find `unix` in `signal`
For more information about this error, try `rustc --explain E0432`.
warning: `pgcat` (bin "pgcat") generated 4 warnings (4 duplicates)
error: could not compile `pgcat` due to previous error; 4 warnings emitted
Using cargo 1.66.1 (ad779e08b 2023-01-10)
levkk
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed