samwoodhams / copy_to_output

A small rust library to copy files/folders from the project directory to the output directory
Other
15 stars 5 forks source link

get target build directory using cargo metadata #10

Open dougcooper opened 2 days ago

dougcooper commented 2 days ago

I interpreted the purpose of this crate to be able to copy files to the target build directory where the executable lives, not build script artifacts (which is what OUT_DIR provides). In my use case i want to place an assets folder next to my bin.