Is there a good way to generate shortcuts in pure Rust

I'm need to create / read windows .lnk files but I can't find any working crate in rust.
This one is able to read the correctly the link but doesn't support write

This one is able to create a file but the file doesn't work the target field is empty in the written file.

If someone has a working example of this lib or another solution this would be very nice.

Thanks for helping me.

Are you looking for std::os::windows::fs::symlink_file - Rust and std::os::windows::fs::symlink_dir - Rust ?

As for reading I suppose std::fs::FileType - Rust is cross-platform.

No, I want to generate lnk files (Icons, Working dir, target, args...)