Skip to main content

nautilus_trader/
lib.rs

1// -------------------------------------------------------------------------------------------------
2//  Copyright (C) 2015-2026 Nautech Systems Pty Ltd. All rights reserved.
3//  https://nautechsystems.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//! Container crate for NautilusTrader.
17//!
18//! This crate re-exports the core, model, and common component crates as a small
19//! stable entry point. Use the individual `nautilus-*` crates for adapter,
20//! backtest, live, and other crate-specific APIs.
21//!
22//! # Feature Flags
23//!
24//! This crate provides feature flags to control source code inclusion during compilation:
25//!
26//! - `test-support`: Enables model test fixtures, builders, specs, and defaults.
27
28#![warn(clippy::pedantic)]
29#![allow(
30    clippy::manual_let_else,
31    clippy::option_if_let_else,
32    clippy::or_fun_call,
33    clippy::redundant_else,
34    clippy::similar_names,
35    clippy::single_match_else,
36    reason = "workspace policy; generated by scripts/update-clippy-allowances.py"
37)]
38
39pub use nautilus_common as common;
40pub use nautilus_core as core;
41pub use nautilus_model as model;