Add feature guard for NodeIdStoreError From impl
The From implementation for diesel errors wasn't feature guarded for
diesel being included. This guards the implementation.
@@ -50,6 +50,7 @@ impl Error for NodeIdStoreError {
}
}
+#[cfg(feature = "diesel")]
impl From<diesel::result::Error> for NodeIdStoreError {
fn from(err: diesel::result::Error) -> Self {
Self::InternalError(InternalError::from_source(Box::new(err)))
