From here.
or
choco install vcredist-all
choco install visualstudio2019community
choco install openssl
Just Install PostgreSQL CLI Tool from here.
add these two paths to your PATH.
C:\Program Files\PostgreSQL\{Version}\bin
C:\Program Files\PostgreSQL\{Version}\lib
setx PQ_LIB_DIR="C:\Program Files\PostgreSQL\15\lib"
cargo install diesel_cli --no-default-features --features postgres --force