diff --git a/src/exports/mod.rs b/src/exports/mod.rs index 86cde1e..81caa76 100644 --- a/src/exports/mod.rs +++ b/src/exports/mod.rs @@ -22,7 +22,7 @@ struct Export<'a> { cell_separator: &'a str, } -impl<'a> Export<'a> { +impl Export<'_> { fn filename(&self) -> String { format!( "{} {}{}", diff --git a/src/helpers.rs b/src/helpers.rs index 5a6d47f..5f52c10 100644 --- a/src/helpers.rs +++ b/src/helpers.rs @@ -48,7 +48,7 @@ where fields: &'a mut Option<&'static [&'static str]>, } - impl<'de, 'a> Deserializer<'de> for StructFieldsDeserializer<'a> { + impl<'de> Deserializer<'de> for StructFieldsDeserializer<'_> { type Error = serde::de::value::Error; fn deserialize_any(self, _visitor: V) -> std::result::Result diff --git a/src/lib.rs b/src/lib.rs index 15376c6..a663ec6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -37,6 +37,7 @@ pub use categories::*; pub use cloudflare::*; pub use collections::*; pub use colors::*; +pub use cornucopia_async::GenericClient; pub use db_migrations::*; pub use entities::*; pub use entity_ref::*; @@ -54,3 +55,7 @@ pub use styles::*; mod ui; pub use errors::*; + +pub mod deadpool_postgres { + pub use deadpool_postgres::*; +}