feat: headers support, revert new feature changes

This commit is contained in:
rzmk 2026-06-11 15:57:38 -04:00
parent a3e0df7318
commit a0a86219b5
3 changed files with 13 additions and 52 deletions

View file

@ -6,12 +6,6 @@ Rust library crate to access [CKAN](https://ckan.org) Action API endpoints throu
cargo add ckanaction
```
If you want to return the full [`reqwest::Response`](https://docs.rs/reqwest/latest/reqwest/struct.Response.html) instead of attempting to deserialize the response to JSON by default (e.g. erroneous response such as a Cloudflare firewall), include the `full_response` feature flag so you can add error handling in your code:
```bash
cargo add ckanaction -F full_response
```
![ckanaction IDE hints demo](https://github.com/user-attachments/assets/515d5742-4a33-43b9-9f3f-4795d18579c0)
## Examples