Steve Klabnik
👤 PersonAppearances Over Time
Podcast Appearances
It, you know, I think that there are some crates that kind of like vomit their guts out. And this is one where it really presents a nice user experience, a nice user interface. And there's a bunch of complexity underpinning it that allows for that nice interface. And I really enjoy that one. It's my favorite HTTP mocking crate, if that doesn't make me the world's biggest dork.
It, you know, I think that there are some crates that kind of like vomit their guts out. And this is one where it really presents a nice user experience, a nice user interface. And there's a bunch of complexity underpinning it that allows for that nice interface. And I really enjoy that one. It's my favorite HTTP mocking crate, if that doesn't make me the world's biggest dork.
Yeah, interesting. So what have you used this for? So we use it in the... So I wrote the progenitor CLI generator, and I wanted to have end-to-end validation of running CLI commands. The CLI is built in CLAP as well. So I wanted to do that, but not against a real... you know, oxide server. So we actually auto generate additional traits for HTTP mock.
Yeah, interesting. So what have you used this for? So we use it in the... So I wrote the progenitor CLI generator, and I wanted to have end-to-end validation of running CLI commands. The CLI is built in CLAP as well. So I wanted to do that, but not against a real... you know, oxide server. So we actually auto generate additional traits for HTTP mock.
So then you can make type checked, um, mocks against our API. So like the, the CLI is banging against this mock server to validate all the different, you know, CLI sub commands that we, that we emit or that we create.
So then you can make type checked, um, mocks against our API. So like the, the CLI is banging against this mock server to validate all the different, you know, CLI sub commands that we, that we emit or that we create.
Yeah, it's just a nice interface. I just really appreciate the way that it operates. There's some limitations. I think there are other mocking crates where you have maybe more flexibility or you just get a generic function where you can respond with whatever you want. I think the constraints associated with this allow you to build something that's a little more type-safe.
Yeah, it's just a nice interface. I just really appreciate the way that it operates. There's some limitations. I think there are other mocking crates where you have maybe more flexibility or you just get a generic function where you can respond with whatever you want. I think the constraints associated with this allow you to build something that's a little more type-safe.
I definitely need to be using this in three different places. Thank you so much, Rain.
I definitely need to be using this in three different places. Thank you so much, Rain.
This is great. I kind of can't believe we haven't done this before. And we're almost certainly going to do it again. I feel like a good pairing with our books in the box.
This is great. I kind of can't believe we haven't done this before. And we're almost certainly going to do it again. I feel like a good pairing with our books in the box.
I'm going to put myself up here because I was here last year.
I'm going to put myself up here because I was here last year.
mine from a year ago was apple vr related as well which obviously three years or six is much bigger than one but it's very interesting i think specifically because i said apple vr will do well but not take over the world so that means like do a second revision uh and they just announced last week they're stopping production on the current apple vr like so it's like almost to the week they've ended so i'm not gonna say i'm right or like wrong you know but it's like interesting because i was like yeah i think it's gonna do fine and i think
mine from a year ago was apple vr related as well which obviously three years or six is much bigger than one but it's very interesting i think specifically because i said apple vr will do well but not take over the world so that means like do a second revision uh and they just announced last week they're stopping production on the current apple vr like so it's like almost to the week they've ended so i'm not gonna say i'm right or like wrong you know but it's like interesting because i was like yeah i think it's gonna do fine and i think