Skip to main content

nautilus_coinapi/
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//! [NautilusTrader](https://nautilustrader.io) adapter for the
17//! [CoinAPI Market Data API](https://www.coinapi.io/products/market-data-api?ref=nautilus).
18//!
19//! This crate targets market data only; order execution is outside its scope.
20//!
21//! # Feature Flags
22//!
23//! - `examples`: Enables the crate's example binaries.
24//! - `extension-module`: Builds as a Python extension module.
25//! - `fuzz`: Enables libFuzzer integration for fuzz targets.
26//! - `high-precision` (default): Enables
27//!   [high-precision mode](https://nautilustrader.io/docs/nightly/getting_started/installation/#precision-mode)
28//!   to use 128-bit value types.
29//! - `python`: Enables Python bindings from [PyO3](https://pyo3.rs).
30//! - `simulation`: Routes HTTP and WebSocket through deterministic transport when built with
31//!   `cfg(madsim)`.
32
33#![warn(rustc::all)]
34#![deny(unsafe_code)]
35#![deny(nonstandard_style)]
36#![deny(missing_debug_implementations)]
37#![deny(clippy::missing_errors_doc)]
38#![deny(clippy::missing_panics_doc)]
39#![deny(rustdoc::broken_intra_doc_links)]
40
41pub mod book;
42pub mod common;
43pub mod config;
44pub mod csv;
45pub mod data;
46pub mod factories;
47pub mod http;
48pub mod websocket;
49
50#[cfg(feature = "python")]
51pub mod python;