Skip to content

Conversation

robertek
Copy link

This example shows how to create global configuration module that may be used anywhere in the code with predefined interface.

@softdevca
Copy link

This should be updated to use OnceLock instead of lazy_static. See pr #515

@robertek
Copy link
Author

Thanks for pointing that out.

I have updated that and added a comments around.

@softdevca
Copy link

I made some small improvements to make clippy happy at https://github.com/fork-in-the-code/fitc-config/commit/374840a4786ed6a66eb52f5d0b321c72cb37aae9

@robertek
Copy link
Author

Thanks for the review. I've applied that change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants