rust-gamedig/crates/lib
Tom 89ed19f089
feat(protocols): Add more control over gathering additional information (#180)
* protocols: Add more control over gathering additional information

Adds GatherToggle which allows choosing the behaviour for how the query
handles fetching additional information. The choices are:
- DontGather - Don't attempt to fetch information
- AttemptGather - Try to fetch the information but ignore errors
- Required - Try to fetch information and fail if it errors

A handy macro was also added to utils to dispatch additional queries
based on a GatherToggle value.

* Add/Update badge

* protocols: Improve GatherToggle enum names

Co-Authored-By: Cain <75994858+cainthebest@users.noreply.github.com>
Co-Authored-By: CosminPerRam <cosmin.p@live.com>

* Add/Update badge

---------

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Cain <75994858+cainthebest@users.noreply.github.com>
Co-authored-by: CosminPerRam <cosmin.p@live.com>
2024-01-22 13:36:17 +02:00
..
examples feat(protocols): Add more control over gathering additional information (#180) 2024-01-22 13:36:17 +02:00
src feat(protocols): Add more control over gathering additional information (#180) 2024-01-22 13:36:17 +02:00
tests feat: Move ID tests into their own crate with a CLI (#177) 2024-01-11 01:31:02 +02:00
Cargo.toml fix: various crate/clippy/ci changes (#181) 2024-01-18 15:34:05 +02:00