Robert Cutajar

Results 29 comments of Robert Cutajar

@Fishrock123, no. And I imagine that would be pretty tough to do, wouldn't it? @jbr, exactly. I could use futures, but why pull yet another dependency? I want to `io.close().await?;`

Hi, I've solved this task with an approach similar to `io::copy`. Take the cmd stdin/stdout and await copy. See https://gitlab.com/BrightOpen/Samotop/-/blob/develop/samotop-smime/src/smime.rs#L107 I would be interested in more elegant solution. Let me...

Hi folks, gentle reminder, let's not have this important improvement rot over the summer. Is @julio-lopez unto it @jkowalski ?

It's coming folks :) https://blog.rust-lang.org/inside-rust/2022/11/17/async-fn-in-trait-nightly.html#when-it-does-happen just where to grab some patience :)

Hi there, I'd like to add that when you try to create the `EventStream` in an environment without a tty, it simply panics. This is very unfortunate, because that prevents...

Ahoj, taking this thread to 2019, I'm wondering where we are with this topic? Over on https://internals.rust-lang.org/t/idea-lowering-std-io-to-core/7341 I learned from **rpjohnst** that > the portability lint should eventually allow #![no_std]-like...

Similar thing can be achieved with wry - https://github.com/tauri-apps/wry/issues/127

It's possible to programmatically modify the docs: ``` let mut server = Server::axum().post("/send-code", send_code); for (route, method, op) in server.openapi.operations_mut() { op.responses .responses .insert(StatusCode::Code(205), RefOr::Item(Response::default())); } ``` you could use...

That looks very pleasant, indeed. I will give peg a go again when I have a chance. Thank you.