fyrer 0.1.0

A lightweight tool to run multiple dev servers concurrently
1
2
3
4
5
6
7
use crate::config::ForgeConfig;
use std::fs;

pub fn load_config(path: &str) -> ForgeConfig {
    let data = fs::read_to_string(path).expect("Unable to read config file");
    serde_yaml::from_str(&data).expect("Invalid YAML format")
}