* Add rich error type with source and backtrace
Adds a rich error type that will take a backtrace and allow capturing
the source of the error. The best way to use this is with the included
helpers that will automatically capture the backtrace and convert the
source error:
```
GDRichError::packet_bad_from_into("Reason packet was bad")
```
* [Crate] Bump MSRV to 1.65.0
This is required for backtraces in rich errors.
* Remove leftover debug logging
* [Errors] Replace variant overloads with single .rich method on kind enum
This overhaul replaces the exhaustive impls of each variant as multiple
methods on the rich error type with a singular .rich() method on the
kind enum. This consumes the variant and converts it to a rich error
with a source (.into() can be used if a source is not needed).
I also took the liberty of replacing all usages with the this new method
as I saw fit (adding various error messages) and converting a few
PacketBad errors to TypeParse errors when they are the result of parse
failing.
* Fix problem with rustdoc
* Remove BadGame's owned string
* Rename GDError to GDErrorKind
* Rename GDRichError to GDError
* Remove error impl from GDErrorKind
* Fix tests not passing
* Use error context everywhere map_err is used
* Improve GDError display formatter
* Add tests for new error type
* chore: add standard for formatting
* chore: manually tidy up imports and format
* chore: remove vscode and add to gitignore
* chore: alphabetically order and fix
* chore: format
* chore: fix format issue with payload
* chore: format as merge had unformatted code
* [format] Fix comments, change max width and binop operator
---------
Co-authored-by: CosminPerRam <cosmin.p@live.com>
* Added needed ground stuff
* Minecraft bedrock support!
* Documentation acknowledgements!
* Added utf8_le_undended test, some docs and modified master_querant
* Modified query function to comply with the others
Before: game query -> protocol query (get port or default port)
After: game query (get port or default port) -> protocol query
* Modified md files
* Initial minecraft support
* Made previews_chat an option
* Better error handling and removed version structure
* Minecraft Server types
* Fixed compilation and renamed stuff
* 'extract till you drop!' extracted sockets
* extracted java version and fixed socket udp receive
* Legacy 1.4 and 1.6 implementation (incomplete)
* Furter implementation
* Implementations work
* Protocol beta v1.8+ implemented
* Removed bedrock support
* Added auto query
* Renamed minecraft to mc and added to md's
* Docs, renames and small optimization changes
* Changed java version to be able to return None on players sample