generated from pure_sagacity/rust-starter
apparently the gen_or_get_key logic is for string only keys
changed that and also added an implementation for the trait
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// This trait will replace the current implementation.
|
||||
// Right now, the implementation is locked on only SQLite.
|
||||
// With this trait, we can implement other savers like Postgres, MySQL, etc.
|
||||
// Or even third party services like Hashicorp Vault, AWS Secrets Manager, etc.
|
||||
|
||||
// For now, I'll just get an MVP in place.
|
||||
pub trait Store {}
|
||||
Reference in New Issue
Block a user