cloudflare / cloudflare-rs

Rust library for the Cloudflare v4 API
256 stars 83 forks source link

Remove generic types for Endpoint::body and Endpoint::query #212

Closed jeff-hiner closed 1 year ago

jeff-hiner commented 1 year ago

Simplifies the ergonomics for Endpoint users by removing some irrelevant generic parameters and hiding implementation details. Slightly improves codegen (~15% smaller) and build times.