dtmt/lib
Lucas Schwiderski 5f8016c655
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-02-21 15:44:10 +01: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 Update dependencies 2024-08-21 14:33:39 +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 feat(sdk): Implement partial texture decompilation 2025-02-19 11:12:05 +01:00
sdk Use macro to generate file type enum and impls 2025-02-21 15:44:10 +01:00
serde_sjson@73d2b23ce5 chore: Update serde_sjson 2023-03-15 21:31:38 +01:00