Update ring to 0.17+ for loongarch64 support
Is your feature request related to a problem? Please describe. Currently pgcat cannot be built on loongarch64 cpu, but that is easily fixable ;)
Describe the solution you'd like Update dependencies that require ring crate older than 0.17 To be precise those are:
- webpki-roots (https://github.com/postgresml/pgcat/pull/877)
- tokio-rustls (https://github.com/postgresml/pgcat/pull/881)
- rustls version 0.22+. There are some breaking changes but there is also helpful changelog to fix those: https://github.com/rustls/rustls/pull/1651
- nix 0.27.0+
Describe alternatives you've considered None, I think updating few dependencies is the way
Additional context loongarch64 is a cpu architecture which is supported by rust compiler and modern crate versions such as ring, linux-raw-sys, nix and others.
Tried myself on loongarch64 branch of fork (https://github.com/k0tran/pgcat/tree/loongarch64) There are some problems with 'static but overall I think it's doable