sparckles / Robyn

Robyn is a Super Fast Async Python Web Framework with a Rust runtime.
https://robyn.tech/
BSD 2-Clause "Simplified" License
3.95k stars 203 forks source link

Figure out a way for Rust structs to have default values #729

Open sansyrox opened 6 months ago

sansyrox commented 6 months ago

Figure out a way for Rust structs to have default values.

i.e. we shouldn't have to specify 200 status code in PyResponse

isaacharrisholt commented 5 months ago

Take a look at the derivative crate

sansyrox commented 4 months ago

Thank you @isaacharrisholt 😄

This is super helpful