Make Garage's config global (lazy static) #292

Open
opened 2022-04-11 09:19:59 +00:00 by quentin · 1 comment
Owner

Would help to solve issues like #273

What about garage as a library?

Would help to solve issues like #273 What about garage as a library?
quentin added the
Improvement
label 2022-04-11 09:19:59 +00:00
Owner

This is a good idea for Garage's main parameter set (the content of garage.toml).
When doing this, we should take the opportunity to clean up crates garage_util, garage_rpc and garage_table to make them easier to use outside of the context of Garage. In other words, the definition of the Config struct should probably be moved to crate garage_model

This is a good idea for Garage's main parameter set (the content of `garage.toml`). When doing this, we should take the opportunity to clean up crates `garage_util`, `garage_rpc` and `garage_table` to make them easier to use outside of the context of Garage. In other words, the definition of the Config struct should probably be moved to crate `garage_model`
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#292
No description provided.