hsluoyz commented on issue #97: URL: https://github.com/apache/casbin-rust-diesel-adapter/issues/97#issuecomment-5206923707
@yuvrajjsingh0 Documented in 892c1df — the README now has a "Sharing an existing connection pool" section, and `with_pool` has a runnable doc example. While writing it I also made the signature usable from outside the crate: `Connection` and `ConnectionPool` are now public type aliases, and `diesel` is re-exported as `diesel_adapter::diesel`, so you no longer need to add diesel as a direct dependency or figure out which connection type your feature flag resolves to. https://github.com/apache/casbin-rust-diesel-adapter/commit/892c1dfe1b4e0b76fcec99a4b0b58e9e104b25be -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
