Skip to content

Commit 0b3c333

Browse files
committed
Fix rustdocs nightly build
1 parent 692ebac commit 0b3c333

File tree

10 files changed

+19
-1
lines changed

10 files changed

+19
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ docs-python: install-just-deps-all
7070

7171
.PHONY: docs-rust
7272
docs-rust:
73-
(cd nautilus_core && RUSTDOCFLAGS="--enable-index-page -Zunstable-options --allow warnings --allow errors" cargo +nightly doc --no-deps)
73+
(cd nautilus_core && RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo +nightly doc --no-deps)
7474

7575
.PHONY: clippy
7676
clippy:

nautilus_core/accounting/src/python/mod.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(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade
17+
1618
use pyo3::{prelude::*, pymodule};
1719

1820
pub mod cash;

nautilus_core/adapters/src/databento/python/mod.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(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade
17+
1618
pub mod enums;
1719
pub mod historical;
1820
pub mod live;

nautilus_core/common/src/python/mod.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(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade
17+
1618
pub mod clock;
1719
pub mod enums;
1820
pub mod logging;

nautilus_core/core/src/python/mod.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(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade
17+
1618
use std::fmt;
1719

1820
use pyo3::{

nautilus_core/indicators/src/python/mod.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(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade
17+
1618
use pyo3::{prelude::*, pymodule};
1719

1820
pub mod average;

nautilus_core/infrastructure/src/python/mod.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(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade
17+
1618
use pyo3::{prelude::*, pymodule};
1719

1820
#[cfg(feature = "redis")]

nautilus_core/model/src/python/mod.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(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade
17+
1618
use pyo3::prelude::*;
1719

1820
pub mod common;

nautilus_core/network/src/lib.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(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade
17+
1618
pub mod http;
1719
#[allow(dead_code)]
1820
mod ratelimiter;

nautilus_core/persistence/src/python/mod.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(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade
17+
1618
use pyo3::prelude::*;
1719

1820
pub mod backend;

0 commit comments

Comments
 (0)