Open kevaundray opened 2 years ago
Backends should also likely be moved to rust feature flags, so that downstream consumers can avoid compiling costly impls (such as rocksDB) if they only plan on using one
The verkle-db crate has the backends under a feature flag here: https://github.com/crate-crypto/rust-verkle/blob/master/verkle-db/Cargo.toml#L10
I should clarify that consumers do not need to implement or even use verkle-db since verkle-trie just needs somebody to implement the Db traits. I added verkle-db to make it easier for those that did not want to. In that light, we could make verkle-db optional, though not super important
This is a tracking issue for the following tasks: