From 505a79ce1b1b6695fbedd191a55ed1e89c34582a Mon Sep 17 00:00:00 2001 From: David Hewitt Date: Sun, 6 Oct 2024 07:05:57 +0100 Subject: [PATCH] restore allow deprecated --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 23be38dba..2b2d1f088 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -112,6 +112,7 @@ pub use crate::borrow::{ }; pub use crate::convert::{IntoPyArray, NpyIndex, ToNpyDims, ToPyArray}; #[cfg(feature = "gil-refs")] +#[allow(deprecated)] pub use crate::dtype::dtype; pub use crate::dtype::{ dtype_bound, Complex32, Complex64, Element, PyArrayDescr, PyArrayDescrMethods, @@ -120,6 +121,7 @@ pub use crate::error::{BorrowError, FromVecError, NotContiguousError}; pub use crate::npyffi::{PY_ARRAY_API, PY_UFUNC_API}; pub use crate::strings::{PyFixedString, PyFixedUnicode}; #[cfg(feature = "gil-refs")] +#[allow(deprecated)] pub use crate::sum_products::{dot, einsum, inner}; pub use crate::sum_products::{dot_bound, einsum_bound, inner_bound}; pub use crate::untyped_array::{PyUntypedArray, PyUntypedArrayMethods};