CosminPerRam
a3bc8b79e5
feat(games): add zombie panic: source support
2024-01-11 01:48:05 +02:00
Tom
b248a7661e
feat: Move ID tests into their own crate with a CLI ( #177 )
...
* fix: ID tests not in correct directory
* refactor: Move game-id test logic into its own crate
* id-tests: Add CLI that reads JSON input
* id-tests: Update crate docs
* Remove node ID test
* id-tests: Don't try to parse unneeded info
* id-tests: Enable cli feature by default
2024-01-11 01:31:02 +02:00
CosminPerRam
88bf996a5e
Merge branch 'main' of github.com:gamedig/rust-gamedig
2024-01-07 23:44:40 +02:00
CosminPerRam
94102d0d7b
feat(games): add base defense support
2024-01-07 23:44:35 +02:00
GitHub Action
12a6c2af58
Add/Update badge
2024-01-07 21:35:12 +00:00
CosminPerRam
c71e783e1e
fix(crate): formatting
2024-01-07 23:34:46 +02:00
CosminPerRam
109a3db13e
feat(games): add americas army proving grounds support
2024-01-07 23:34:26 +02:00
CosminPerRam
90b038eed0
Merge branch 'main' of github.com:gamedig/rust-gamedig
2024-01-07 23:22:27 +02:00
CosminPerRam
1333655d53
fix(games): atlas definitions steam app id
2024-01-07 23:22:17 +02:00
GitHub Action
d9c0a63e8c
Add/Update badge
2024-01-07 21:16:08 +00:00
CosminPerRam
ae9a38907f
feat(games): add atlas support
2024-01-07 23:15:35 +02:00
Tom
bd3727d7fe
chore: Tidy up some out of place types ( #160 )
...
* tidy: Move TimeoutSettings out of protocol types
* tidy: Move game type to a types file
* tidy: Move generic query functions to own file
* tidy: Move ExtraRequestSettings to game types
* tidy: Move generic query functions into games module
* Revert "tidy: Move ExtraRequestSettings to game types"
This reverts commit aa0d23fc2acc12d68f03265a9caff6f98bf25054.
* Revert "tidy: Move TimeoutSettings out of protocol types"
This reverts commit 7ee10711ed11f17cc06565d4cc9102040d53a319.
* tidy: Re-export types needed for query at the root
* Add/Update badge
---------
Co-authored-by: GitHub Action <action@github.com>
2024-01-02 00:17:43 +02:00
GitHub Action
483d728ac8
Add/Update badge
2023-12-30 15:32:01 +00:00
CosminPerRam
a7ee331dc3
feat: add Rising World support
2023-12-30 17:31:22 +02:00
Cain
079e9877ba
fix: Remove unused manifest key ( #174 )
2023-12-24 11:12:54 +00:00
Cain
0e241056bf
fix: remove unused manifest key in cargo.toml
2023-12-24 11:01:08 +00:00
Tom
87ed02420e
feat: Add best effort test to validate game ID rules ( #111 )
...
* [Test] Add best effort test to validate game ID rules
An attempt to implement the rules specified in #108 as a programmatic
test.
* [Test] Refactor ID rules to check if a mod exists after - in game name
This allows fivem to pass the check following rule 8, but could also
cause a false pass in some cases.
* [Test] Add unit tests for ID rule checker
Adds unit tests based on the examples in CONTRIBUTING.md to confirm in
those cases we would allow ID to pass. However these tests don't check
any error cases.
* test/id: Correctly extract protocol names
* games/defs: Fix unreal tournament IDs
* tests: Require game definitions to run ID tests
* tests: Improve comments on ID tests
* tests/id: Combine - seperated numbers
* games/defs: Fix darkest hour ID
* Add/Update badge
---------
Co-authored-by: GitHub Action <action@github.com>
2023-12-19 22:20:19 +01:00
CosminPerRam
10169c9107
chore: extract ffow into multiple files ( #173 )
...
* chore: extract ffow into multiple files
* fix: serde uses not being conditional
2023-12-19 22:04:45 +01:00
CosminPerRam
bdcf64facf
chore: extract the ship into multiple files ( #172 )
...
* chore: extract the ship into multiple files
* fix: actual the ship reference link
* fix: revert last commit and replace in ts
2023-12-19 20:58:15 +01:00
CosminPerRam
99b0269ec2
chore: extract jc2m into multiple files ( #171 )
...
* chore: extract jc2m into multiple files
* docs: add jc2m fields public
2023-12-15 20:19:15 +01:00
CosminPerRam
8c52ca6ad3
chore: remove redundant closure
2023-12-11 04:01:41 +02:00
CosminPerRam
44abf6ec71
chore: use Option::map_or_else instead of an if let/else
2023-12-11 04:00:31 +02:00
CosminPerRam
a4bc430868
perf: use of or followed by a function call
2023-12-11 03:58:40 +02:00
CosminPerRam
0aa498b30b
chore: simplify condition to use equals operator
2023-12-11 03:56:14 +02:00
CosminPerRam
f746fad157
perf: use of ok_or followed by a function call
2023-12-11 03:54:04 +02:00
CosminPerRam
9c3e6cb51f
perf: use of ok_or followed by a function call
2023-12-11 03:53:18 +02:00
CosminPerRam
e1bffd2045
pref: apply const to applicable functions
2023-12-11 03:49:18 +02:00
CosminPerRam
21205fc3cb
fix: also add Eq to savage2::Response
2023-12-11 03:47:31 +02:00
CosminPerRam
486abbd9f7
chore: use Self where possible
2023-12-11 03:45:54 +02:00
CosminPerRam
f431508418
chore: use map_or_else instead of if let Some() ... else
2023-12-11 03:41:41 +02:00
CosminPerRam
5d0834ac78
chore: run rustfmt
2023-12-11 03:34:38 +02:00
CosminPerRam
731818ffb1
chore: fixed some long literal lacking separators
2023-12-11 03:34:05 +02:00
CosminPerRam
f1094e0e68
chore: replace the closure with the method itself
2023-12-11 03:31:57 +02:00
CosminPerRam
2836536842
perf: dereference &&str to use specialized ToString implementation
2023-12-11 03:31:18 +02:00
CosminPerRam
81e028e1a0
perf: dereference &&str to use specialized ToString implementation
2023-12-11 03:29:07 +02:00
CosminPerRam
177d22e4b2
chore: instead of .map().unwrap_or_else() use .map_or_else()
2023-12-11 03:26:55 +02:00
CosminPerRam
febba25a91
chore: instead of .map().unwrap_or_else() use .map_or_else()
2023-12-11 03:25:29 +02:00
CosminPerRam
8b4f6083f1
chore: replace ''.to_string with String::new
2023-12-11 03:21:54 +02:00
CosminPerRam
1dc3c6dade
chore: replace the closure with the method itself
2023-12-11 03:19:51 +02:00
CosminPerRam
e0cc2a2420
fix: readme examples folder returning not found since monorepo merge
2023-12-10 23:32:12 +02:00
CosminPerRam
35c2aec19b
Merge branch 'main' of github.com:gamedig/rust-gamedig
2023-12-10 19:46:21 +02:00
CosminPerRam
bc2b69d183
fix: remove unwrapping in an assert
2023-12-10 19:46:12 +02:00
CosminPerRam
55f498d45a
fix: add jc2m in protocols.md
2023-12-10 19:43:32 +02:00
CosminPerRam
dd204936f0
chore: fix unreal 2 entry in protocols.md
2023-12-10 19:41:28 +02:00
GitHub Action
fb6f22b801
Add/Update badge
2023-12-10 17:39:46 +00:00
CosminPerRam
af8e1e9b1a
feat: add savage 2 support ( #169 )
...
* feat: savage 2 support
* fix: add savage 2 to definitions
* chore: run rustfmt
* fix: config serde use
* fix: remove needless borrow
* docs: add savage 2 to protocols.md
2023-12-10 19:39:26 +02:00
Tom
dd037daa04
Revert "Bump actions/labeler from 4 to 5 in /.github/workflows ( #165 )" ( #167 )
...
This reverts commit 04da29f2a6 .
2023-12-07 22:51:45 +02:00
dependabot[bot]
04da29f2a6
Bump actions/labeler from 4 to 5 in /.github/workflows ( #165 )
...
Bumps [actions/labeler](https://github.com/actions/labeler ) from 4 to 5.
- [Release notes](https://github.com/actions/labeler/releases )
- [Commits](https://github.com/actions/labeler/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/labeler
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-05 18:03:27 +02:00
CosminPerRam
45f05aec13
feat: add Squad support ( #164 )
...
* feat: add Squad support
* Add/Update badge
---------
Co-authored-by: GitHub Action <action@github.com>
2023-12-03 20:59:46 +02:00
CosminPerRam
decff82318
feat: add Post Scriptum support ( #163 )
...
* feat: add post scriptum support
* Add/Update badge
---------
Co-authored-by: GitHub Action <action@github.com>
2023-12-03 20:51:43 +02:00