nautilus_databento/
lib.rs

1// -------------------------------------------------------------------------------------------------
2//  Copyright (C) 2015-2025 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//! [NautilusTrader](http://nautilustrader.io) is an open-source, high-performance, production-grade
17//! algorithmic trading platform, providing quantitative traders with the ability to backtest
18//! portfolios of automated trading strategies on historical data with an event-driven engine,
19//! and also deploy those same strategies live, with no code changes.
20//!
21//! This crate provides a [Databento](https://databento.com) integration adapter.
22//!
23//! # Feature flags
24//!
25//! This crate provides feature flags to control source code inclusion during compilation,
26//! depending on the intended use case, i.e. whether to provide Python bindings
27//! for the [nautilus_trader](https://pypi.org/project/nautilus_trader) Python package,
28//! or as part of a Rust only build.
29//!
30//! - `python`: Enables Python bindings from [PyO3](https://pyo3.rs).
31
32#![warn(rustc::all)]
33#![deny(nonstandard_style)]
34#![deny(missing_debug_implementations)]
35#![deny(rustdoc::broken_intra_doc_links)]
36// #![deny(clippy::missing_errors_doc)]
37
38pub mod common;
39pub mod decode;
40pub mod enums;
41pub mod live;
42pub mod loader;
43pub mod symbology;
44pub mod types;
45
46#[cfg(feature = "python")]
47pub mod python;