Skip to content

Commit

Permalink
Fix rustdocs nightly build
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Apr 19, 2024
1 parent 692ebac commit 0b3c333
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions nautilus_core/accounting/src/python/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions nautilus_core/adapters/src/databento/python/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions nautilus_core/common/src/python/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions nautilus_core/core/src/python/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
// limitations under the License.
// -------------------------------------------------------------------------------------------------

#![allow(warnings)] // non-local `impl` definition, temporary allow until pyo3 upgrade

use std::fmt;

use pyo3::{
Expand Down
2 changes: 2 additions & 0 deletions nautilus_core/indicators/src/python/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions nautilus_core/infrastructure/src/python/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down
2 changes: 2 additions & 0 deletions nautilus_core/model/src/python/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions nautilus_core/network/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions nautilus_core/persistence/src/python/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0b3c333

Please sign in to comment.