Additional files in a crate

⚓ Rust    📅 2026-01-24    👤 surdeus    👁️ 2      

surdeus

Info

This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Additional files in a crate

The program that I am creating requires additional files (templates, config files) that aren't Rust source files, and therefore aren't included in a crates.io crate. However, these files are necessary for every install. What's the best way to make it so that these files are in each install? I thought maybe I could put them in a repo and make people clone it when installing, but I feel like there should be an easier way.

Any suggestions/answers?
Thanks!

3 posts - 3 participants

Read full topic

🏷️ Rust_feed