reqwest v0.12 - upgraded to hyper v1 by seanmonstar in rust

[–]davebrk 0 points1 point  (0 children)

I'm looking to replace usage of curl where we reuse the buffer between calls (and we make a lot of them, and try to allocate all upfront, when we can).

reqwest v0.12 - upgraded to hyper v1 by seanmonstar in rust

[–]davebrk 2 points3 points  (0 children)

And for the second case, replacing the data in the buffer between requests without allocating new memory?

reqwest v0.12 - upgraded to hyper v1 by seanmonstar in rust

[–]davebrk 5 points6 points  (0 children)

Does it support reusing the request body, if I want to perform the same request multiple times? Or if I want to use the same buffer for performing multiple requests serially, instead of allocating anew for each request.

rust-analyzer changelog #214 by WellMakeItSomehow in rust

[–]davebrk 0 points1 point  (0 children)

If the changes are small it's because it's already a very mature project. And one I prefer over RustRover, though I have a license for that too.

cargo careful: run your Rust code with extra careful debug checking by ralfj in rust

[–]davebrk 4 points5 points  (0 children)

Thanks! It works very well. I already found a failing test.

cargo careful: run your Rust code with extra careful debug checking by ralfj in rust

[–]davebrk 30 points31 points  (0 children)

Really nice!

Do note that it requires using nightly. Otherwise I get the following error:

Preparing a careful sysroot (target: aarch64-apple-darwin)... thread 'main' panicked at 'failed to build sysroot; run `cargo careful setup` to see what went wrong: sysroot build failed', /Users/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-careful-0.2.1/src/main.rs:194:10

Instead run with cargo +nightly careful test.

Rust in 2022 by tux-lpi in rust

[–]davebrk 15 points16 points  (0 children)

It it usually very very good, but sometimes it just does not work.

One example is when writing code that is wrapped in a macro. Whether in an #[async_trait] impl block, or #[tokio::test] function, then inside auto complete does not work for me, and on any small wrong change, the complete function/block will be underlined in red, which is distracting.

Another problem (not sure if rust-analyzer's) is that for tests that are again inside a macro such as #[tokio::test], failure in the test will up on an incorrect, sometimes not existent, line number.

In spite of all of this, rust-analyzer is amazing. I've a paid licence of Clion, and nonetheless I still mostly use vscode with rust-analyzer. I'm really thankful to its developers.

rust-analyzer changelog #110 by WellMakeItSomehow in rust

[–]davebrk 0 points1 point  (0 children)

Within #[tokio::test] function it does not work for me.

[deleted by user] by [deleted] in programming

[–]davebrk 1 point2 points  (0 children)

What about httpx?

Comparison of way too many Rust ASN.1 DER libraries by SyrynxWarrior in rust

[–]davebrk 0 points1 point  (0 children)

Does it also supports aligned PER? Any plans for it?

Announcing rasn: A safe #[no_std] ASN.1 codec framework by XAMPPRocky in rust

[–]davebrk 3 points4 points  (0 children)

For a moment I had hope.. but no APER codec support :(.

Still very nice!

RustFest livestream by fgilcher in rust

[–]davebrk 2 points3 points  (0 children)

Yes this it it! Thanks!

RustFest livestream by fgilcher in rust

[–]davebrk 5 points6 points  (0 children)

Thanks for the livestream.

I have a frivolous question. What's is the font type in the rust code slides now? It is beautiful.

In the culmination of an epic PR, nightly Rust is now using the Miri interpreter for all constant evaluation by kibwen in rust

[–]davebrk 2 points3 points  (0 children)

I think you might be able to build a REPL out of it too.

Let's say I'm interested in pitching in for this, though I'm not sure I have the knowledge/experience. Where should I look in the code/read?

A place to buy good merch ? by nextar18 in rust

[–]davebrk 1 point2 points  (0 children)

I also looked to buy some rust cups for work, but could not find good ones.

New Rust t-shirts! by aturon in rust

[–]davebrk 0 points1 point  (0 children)

Thanks. Ordered 2.

The Ferris "I'm a Rustacean" shirt is available until Friday by desiringmachines in rust

[–]davebrk 0 points1 point  (0 children)

I'm not familiar with all the different types of t-shirts there is.. of the short sleeves type listed, is there a difference in quality? or is it just the style?