dtmt/lib
Lucas Schwiderski 636279edfe
Some checks are pending
build/msvc Build for the target platform: msvc
lint/clippy Checking for common mistakes and opportunities for code improvement
build/linux Build for the target platform: linux
Use macro to generate file type enum and impls
Due to the large amount of variants, and the different kind of values
connected to each variant (hash, extension name) being scattered
across the various `impl` blocks, the file became rather convoluted.

While I don't generally like the indirection of macros or meta
programming, it's not that bad with Rust, thanks to Rust Analyzer being
able to attach diagnostics to the source inside the macro definition,
and the ability to generate the macro's output for validation.

Therefore, the new macro allows putting all data used for this enum
definition into a single block.
2025-04-22 23:03:12 +02:00
..
ansi-parser@27beb4bc1f Vendor ansi-parser 2023-11-08 09:43:18 +01:00
color-eyre@228b8ca37e Update dependencies 2024-08-21 14:33:39 +02:00
dtmt-shared Fix locating Steam game path 2025-04-21 23:55:55 +02:00
luajit2-sys@6d94a4dd2c Update dependencies 2024-08-21 14:33:39 +02:00
nexusmods fix(deps): update rust crate thiserror to v2 2025-02-19 11:02:02 +01:00
oodle chore(deps): update rust crate bindgen to 0.71.0 2024-12-06 20:32:37 +00:00
sdk Use macro to generate file type enum and impls 2025-04-22 23:03:12 +02:00