gamedig / rust-gamedig

Game Server Query Library.
https://crates.io/crates/gamedig
MIT License
38 stars 11 forks source link

Conditional protocol compilation #38

Open Douile opened 1 year ago

Douile commented 1 year ago

It would be nice to be able to use feature flags to conditionally compile only a specific set of protocols (and/or games).

CosminPerRam commented 1 year ago

This is something that @cainthebest addressed over on the Discord server (invite link here), this could totally be done, can't really say an exact date when this will be added, but for sure after the Q2 project goals are met.

Douile commented 1 year ago

This is something that @cainthebest addressed over on the Discord server (invite link here), this could totally be done, can't really say an exact date when this will be added, but for sure after the Q2 project goals are met.

Whoops, I had already written an implementation before you posted this. If it's too early to merge or isn't what you had in mind that's my bad.

cainthebest commented 1 year ago

@Douile I haven't yet got a implantation on it as ive been working on a primarily on longer term concept of this lib. feel free to open PRs as they will most likely be discussed before impl.