cloudflare / cloudflare-rs

Rust library for the Cloudflare v4 API
251 stars 74 forks source link

Add proc macro to derive ApiResult #231

Open thomasqueirozb opened 8 months ago

thomasqueirozb commented 8 months ago

Had to add an extra crate to define the proc macro. Wasn't sure about the name of the macro to derive Vec<...> and ended up with VecApiResult. If someone comes up with something better I'd be happy to change it.