···11.direnv
22+.data
2334# Generated by Cargo
45# will have compiled files and executables
+2
flake.nix
···106106 # Set any environment variables for your dev shell
107107 env = {
108108 RUST_SRC_PATH = "${pkgs.rustToolchain}/lib/rustlib/src/rust/library";
109109+ FIL_CONFIG = "./.config";
110110+ FIL_DATA = "./.data";
109111 };
110112111113 # Add any shell logic you want executed any time the environment is activated
+2
src/config.rs
···5656impl Config {
5757 /// generates a new config with the provided `filaments_dir`
5858 pub fn generate(filaments_dir: &Path) -> KdlDocument {
5959+6060+5961 let mut default_config: KdlDocument = DEFAULT_CONFIG
6062 .parse()
6163 .expect("Default config should always be a valid KDL document.");