diff --git a/src/lib.rs b/src/lib.rs index c79e102..a94cd6f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -90,7 +90,7 @@ impl From for Rear { } } -#[cfg(feature = "tokio_postgres")] +#[cfg(feature = "tokio-postgres")] impl From for Rear { fn from(error: tokio_postgres::Error) -> Self { Self { message: error.to_string(), error: error.into() }