Hello I'm using the bb8 package to create a Redis and Postgres pool. My issue is I don't understand how to effectively share the pool.
My current implementation uses Arc and passes down through the entire chain of functions to get where I need to use it, but that seems to have a lot of overhead for sharing something that isn't really changing.