diff --git a/Makefile b/Makefile index 721f176efb4f..5d7ee82aec98 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,7 @@ docs-python: install-just-deps-all .PHONY: docs-rust docs-rust: - (cd nautilus_core && RUSTDOCFLAGS="--enable-index-page -Zunstable-options --allow warnings --allow errors" cargo +nightly doc --no-deps) + (cd nautilus_core && RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo +nightly doc --no-deps) .PHONY: clippy clippy: diff --git a/nautilus_core/accounting/src/python/mod.rs b/nautilus_core/accounting/src/python/mod.rs index 681c4f438aee..ba3ea5fabf41 100644 --- a/nautilus_core/accounting/src/python/mod.rs +++ b/nautilus_core/accounting/src/python/mod.rs @@ -13,6 +13,8 @@ // limitations under the License. // ------------------------------------------------------------------------------------------------- +#![allow(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade + use pyo3::{prelude::*, pymodule}; pub mod cash; diff --git a/nautilus_core/adapters/src/databento/python/mod.rs b/nautilus_core/adapters/src/databento/python/mod.rs index 1011a0b4c0d0..7d87fc51db5d 100644 --- a/nautilus_core/adapters/src/databento/python/mod.rs +++ b/nautilus_core/adapters/src/databento/python/mod.rs @@ -13,6 +13,8 @@ // limitations under the License. // ------------------------------------------------------------------------------------------------- +#![allow(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade + pub mod enums; pub mod historical; pub mod live; diff --git a/nautilus_core/common/src/python/mod.rs b/nautilus_core/common/src/python/mod.rs index cf5e6c3a54ca..82994c3941bc 100644 --- a/nautilus_core/common/src/python/mod.rs +++ b/nautilus_core/common/src/python/mod.rs @@ -13,6 +13,8 @@ // limitations under the License. // ------------------------------------------------------------------------------------------------- +#![allow(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade + pub mod clock; pub mod enums; pub mod logging; diff --git a/nautilus_core/core/src/python/mod.rs b/nautilus_core/core/src/python/mod.rs index c0269dc044c1..7169ce63f3e6 100644 --- a/nautilus_core/core/src/python/mod.rs +++ b/nautilus_core/core/src/python/mod.rs @@ -13,6 +13,8 @@ // limitations under the License. // ------------------------------------------------------------------------------------------------- +#![allow(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade + use std::fmt; use pyo3::{ diff --git a/nautilus_core/indicators/src/python/mod.rs b/nautilus_core/indicators/src/python/mod.rs index 1ea59b4c1592..bf60684cb54f 100644 --- a/nautilus_core/indicators/src/python/mod.rs +++ b/nautilus_core/indicators/src/python/mod.rs @@ -13,6 +13,8 @@ // limitations under the License. // ------------------------------------------------------------------------------------------------- +#![allow(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade + use pyo3::{prelude::*, pymodule}; pub mod average; diff --git a/nautilus_core/infrastructure/src/python/mod.rs b/nautilus_core/infrastructure/src/python/mod.rs index 81ab96966a9f..9d64d248117c 100644 --- a/nautilus_core/infrastructure/src/python/mod.rs +++ b/nautilus_core/infrastructure/src/python/mod.rs @@ -13,6 +13,8 @@ // limitations under the License. // ------------------------------------------------------------------------------------------------- +#![allow(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade + use pyo3::{prelude::*, pymodule}; #[cfg(feature = "redis")] diff --git a/nautilus_core/model/src/python/mod.rs b/nautilus_core/model/src/python/mod.rs index 731e89d15737..12d6477588ba 100644 --- a/nautilus_core/model/src/python/mod.rs +++ b/nautilus_core/model/src/python/mod.rs @@ -13,6 +13,8 @@ // limitations under the License. // ------------------------------------------------------------------------------------------------- +#![allow(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade + use pyo3::prelude::*; pub mod common; diff --git a/nautilus_core/network/src/lib.rs b/nautilus_core/network/src/lib.rs index 81ec223a00a6..e19f668791b1 100644 --- a/nautilus_core/network/src/lib.rs +++ b/nautilus_core/network/src/lib.rs @@ -13,6 +13,8 @@ // limitations under the License. // ------------------------------------------------------------------------------------------------- +#![allow(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade + pub mod http; #[allow(dead_code)] mod ratelimiter; diff --git a/nautilus_core/persistence/src/python/mod.rs b/nautilus_core/persistence/src/python/mod.rs index d54054902e58..f354adff3450 100644 --- a/nautilus_core/persistence/src/python/mod.rs +++ b/nautilus_core/persistence/src/python/mod.rs @@ -13,6 +13,8 @@ // limitations under the License. // ------------------------------------------------------------------------------------------------- +#![allow(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade + use pyo3::prelude::*; pub mod backend;