Create a library for type-safe configuration which handles the boilerplate code in the kifu config #61
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue