Create a library for type-safe configuration which handles the boilerplate code in the kifu config #61

Merged
savanni merged 5 commits from config-library into main 2023-08-18 03:30:10 +00:00
1 changed files with 3 additions and 0 deletions
Showing only changes of commit f4735dd16b - Show all commits

View File

@ -95,6 +95,9 @@ macro_rules! define_config {
mod test {
use super::*;
use cool_asserts::assert_matches;
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
use std::path::PathBuf;
define_config! {
DatabasePath(DatabasePath),