Results 21 comments of VersBinarii

The PR has been merged

Fixed with https://github.com/VersBinarii/bme280-rs/pull/23

Have you tested it though? I dont have the hardware on my desk to confirm it. I'll get some by the end of the week.

I see, you're correct. Feel free to make a PR then if you wish 😁 If not i'll look at fixing this later this week.

Just for debugging maybe this [catch_all](https://docs.rs/poem/latest/poem/endpoint/trait.EndpointExt.html#method.catch_all_error) handler can be useful for you.

You can get it from request with `.extensions().get()` one you add it to the router. https://docs.rs/poem/1.3.55/poem/struct.Request.html#method.extensions

I'm experiencing the same problem when opening project without scalafmt.conf. I'm on MacOS Sonoma 14.0 NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713484068 Using Lazy and Iterm2. Also happens on Alacritty...

I just merged the PR and published the new version.

But in your case you should be able to do ``` let rec = sqlx::query!( r#" insert into resources(kind) values($1) returning id "#, kind as _, ) .fetch_one(pool) .await .map_err(|_|...