arcconfig
short for "archive configuration"
This is a dependency for my arcsearch and arcstat projects!
🦀 written in Rust
Why a shared dependency?
Both projects interact with my digital video game archive in similar ways. The two can sensibly share one configuration!
This reduces code redundancy and provides a great place to start on new, similar projects.
Can I use it?
Yes! Honor the licensing, or else this guy will get you → 🦖
Cool! So how do I use it?
First, you need a config.yaml file located in the root of your archive.
The read_config function reads this file's contents and generates a collection of System instances!
For a quickstart on YAML syntax, click here.
Here is an example configuration:
# config.yaml
systems:
ds: # system "label" — call it whatever you want!
display_name: "DS"
color:
path: "ds" # path relative to archive root
games_are_directories: false # are games stored as directories?
snes:
display_name: "SNES"
color:
path: "snes"
games_are_directories: false
wii:
display_name: "WII"
color:
path: "wbfs"
games_are_directories: true
Feel free to use these System instances however you'd like!