nautilus_persistence/
lib.rs

1// -------------------------------------------------------------------------------------------------
2//  Copyright (C) 2015-2025 Posei Systems Pty Ltd. All rights reserved.
3//  https://poseitrader.io
4//
5//  Licensed under the GNU Lesser General Public License Version 3.0 (the "License");
6//  You may not use this file except in compliance with the License.
7//  You may obtain a copy of the License at https://www.gnu.org/licenses/lgpl-3.0.en.html
8//
9//  Unless required by applicable law or agreed to in writing, software
10//  distributed under the License is distributed on an "AS IS" BASIS,
11//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12//  See the License for the specific language governing permissions and
13//  limitations under the License.
14// -------------------------------------------------------------------------------------------------
15
16//! # Platform
17//!
18//! [PoseiTrader](http://poseitrader.io) is an open-source, high-performance, production-grade
19//! algorithmic trading platform, providing quantitative traders with the ability to backtest
20//! portfolios of automated trading strategies on historical data with an event-driven engine,
21//! and also deploy those same strategies live, with no code changes.
22//!
23//! PoseiTrader's design, architecture, and implementation philosophy prioritizes software correctness and safety at the
24//! highest level, with the aim of supporting mission-critical, trading system backtesting and live deployment workloads.
25//!
26//! # Feature flags
27//!
28//! This crate provides feature flags to control source code inclusion during compilation,
29//! depending on the intended use case, i.e. whether to provide Python bindings
30//! for the [posei_trader](https://pypi.org/project/posei_trader) Python package,
31//! or as part of a Rust only build.
32//!
33//! - `ffi`: Enables the C foreign function interface (FFI) from [cbindgen](https://github.com/mozilla/cbindgen).
34//! - `python`: Enables Python bindings from [PyO3](https://pyo3.rs).
35//! - `high-precision`: Enables [high-precision mode](docs/latestnightly/getting_started/installation#precision-mode) to use 128-bit value types.
36
37#![warn(rustc::all)]
38#![deny(nonstandard_style)]
39#![deny(rustdoc::broken_intra_doc_links)]
40// #![deny(clippy::missing_errors_doc)]
41
42pub mod backend;
43pub mod config;
44pub mod parquet;
45
46#[cfg(feature = "python")]
47pub mod python;