|
Hello. I know I can set a default settings file up, then overlay it with another file, but how can I hard-code defaults in and then override with env or settings files? |
Answered by
epage
Feb 3, 2025
Replies: 2 comments
|
Have you looked at |
0 replies
Answer selected by
damccull
|
I did! I found it a few hours after I posted this but I've forgotten to come back since. It's working nicely. It was a bit confusing at first when trying to do a custom type since I was getting weird deserialization errors but kpreid on rust discord suggested I build my type in the default with the same primitive I'd built my actual with and the system should "deserialize" it too. Worked great. Weird, but great. Thanks for getting back! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have you looked at
ConfigBuilder::set_default?