Skip to content

Commit 505a79c

Browse files
committed
restore allow deprecated
1 parent f46bd07 commit 505a79c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ pub use crate::borrow::{
112112
};
113113
pub use crate::convert::{IntoPyArray, NpyIndex, ToNpyDims, ToPyArray};
114114
#[cfg(feature = "gil-refs")]
115+
#[allow(deprecated)]
115116
pub use crate::dtype::dtype;
116117
pub use crate::dtype::{
117118
dtype_bound, Complex32, Complex64, Element, PyArrayDescr, PyArrayDescrMethods,
@@ -120,6 +121,7 @@ pub use crate::error::{BorrowError, FromVecError, NotContiguousError};
120121
pub use crate::npyffi::{PY_ARRAY_API, PY_UFUNC_API};
121122
pub use crate::strings::{PyFixedString, PyFixedUnicode};
122123
#[cfg(feature = "gil-refs")]
124+
#[allow(deprecated)]
123125
pub use crate::sum_products::{dot, einsum, inner};
124126
pub use crate::sum_products::{dot_bound, einsum_bound, inner_bound};
125127
pub use crate::untyped_array::{PyUntypedArray, PyUntypedArrayMethods};

0 commit comments

Comments
 (0)