snaggen

joined 2 years ago
 

The test experience in IDE:s broke before the summer, due to a fix to prevent the non-stable json format to be used in stable rust. So, now the test experience is non-optimal in Intellij Rust for example, which basically just invokes a terminal.

But I still see no work being done to fix this? Is there an RFC to stabilize this that I just have missed? I see nrc propose to stabilize the current format as json-1.0 , but with no response. I find it strange that the testing experience was broken, with no hurry to fix it. Or am I missing something?

 

Added

  • Add HttpServer::{bind, listen}_auto_h2c() methods behind new http2 crate feature.
  • Add HttpServer::{bind, listen}_rustls_021() methods for Rustls v0.21 support behind new rustls-0_21 crate feature.
  • Add Resource::{get, post, etc...} methods for more concisely adding routes that don't need additional guards.
  • Add web::Payload::to_bytes[_limited]() helper methods.
  • Add missing constructors on HttpResponse for several status codes.
  • Add http::header::ContentLength typed header.
  • Implement Default for web::Data.
  • Implement serde::Deserialize for web::Data.
  • Add rustls-0_20 crate feature, which the existing rustls feature now aliases.

Changed

  • Handler functions can now receive up to 16 extractor parameters.
  • The Compress middleware no longer compresses image or video content.
  • Hide sensitive header values in HttpRequest's Debug output.
  • Minimum supported Rust version (MSRV) is now 1.68 due to transitive time dependency.
 

Normally IntelliJ Rust had Bi Weekly releases on Mondays, but now it seems that the last release was on August 7. Ok, that is not so long ago that anyone need to be worried I guess. But Intellij Rust releases have been ticking like a clock, so I'm just surprised from the sudden change and get curious about the underlying reasons.

[–] snaggen@programming.dev 3 points 2 years ago (1 children)

A summary of the Sweden/NATO/Turkey situation. Sweden wants to join NATO. US wants Sweden to join NATO. Turkey and Sweden have had some frosty relations due to Sweden criticising Turkey in various matters.

Turkey was using the situation to pressure US to sell them F16. Then some right wing activists in Sweden (with some ties to Russia) used the opportunity to upset Erdogan by burning the Quran outside of their Embassy. Which then gave Turkey the opportunity to act very offended, and could put even more pressure on US to get the F16. NATO was then hoping for Erdogan to lose the election, which he unfortunately didn't do (at least officially). So, now my guess is that they are back to talking about getting the F16, hence Erdogan is doing public statements about Sweden not joining any time soon.

[–] snaggen@programming.dev 2 points 2 years ago

There are "simple text editors" with IDE like features also, like neovim configured with LSP, Helix aso. And for languages that will infer types, it is really nice to have the editor show the types as inlay hints.

view more: ‹ prev next ›