Skip to content

Commit 0e27f9a

Browse files
committed
Allow deprecated warnings for pyo3 upgrade
1 parent 2c2e147 commit 0e27f9a

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

nautilus_core/backtest/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,7 @@
2727
//! - `ffi`: Enables the C foreign function interface (FFI) from `cbindgen`
2828
//! - `python`: Enables Python bindings from `pyo3`
2929
30+
#![allow(deprecated)] // TODO: Temporary for pyo3 upgrade
31+
3032
pub mod engine;
3133
pub mod matching_engine;

nautilus_core/common/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
//! - `python`: Enables Python bindings from `pyo3`
2929
//! - `stubs`: Enables type stubs for use in testing scenarios
3030
31+
#![allow(deprecated)] // TODO: Temporary for pyo3 upgrade
32+
3133
pub mod cache;
3234
pub mod clock;
3335
pub mod enums;

nautilus_core/network/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
//!
2727
//! - `python`: Enables Python bindings from `pyo3`
2828
29-
#![allow(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade
29+
#![allow(warnings)] // TODO: non-local `impl` definition, temporary allow until pyo3 upgrade
3030

3131
pub mod http;
3232
#[allow(dead_code)]

nautilus_core/persistence/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
//! - `ffi`: Enables the C foreign function interface (FFI) from `cbindgen`
2828
//! - `python`: Enables Python bindings from `pyo3`
2929
30+
#![allow(deprecated)] // TODO: Temporary for pyo3 upgrade
31+
3032
pub mod arrow;
3133
pub mod backend;
3234

nautilus_core/persistence/tests/test_catalog.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
// limitations under the License.
1414
// -------------------------------------------------------------------------------------------------
1515

16+
#![allow(deprecated)] // TODO: Temporary for pyo3 upgrade
17+
1618
use nautilus_core::ffi::cvec::CVec;
1719
use nautilus_model::data::{
1820
bar::Bar, delta::OrderBookDelta, is_monotonically_increasing_by_init, quote::QuoteTick,

0 commit comments

Comments
 (0)