nautilus-data 0.53.0

Core data handling machinery for the Nautilus trading engine
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.93.1"
name = "nautilus-data"
version = "0.53.0"
authors = ["Nautech Systems <info@nautechsystems.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core data handling machinery for the Nautilus trading engine"
homepage = "https://nautilustrader.io"
documentation = "https://nautilustrader.io/docs"
readme = "README.md"
keywords = [
    "finance",
    "trading",
    "trading-platform",
    "algorithmic-trading",
    "quantitative-finance",
]
categories = [
    "finance",
    "simulation",
    "asynchronous",
]
license = "LGPL-3.0-or-later"
repository = "https://github.com/nautechsystems/nautilus_trader"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
defi = [
    "nautilus-common/defi",
    "nautilus-model/defi",
    "alloy-primitives",
]
ffi = [
    "nautilus-common/ffi",
    "nautilus-core/ffi",
    "nautilus-model/ffi",
    "nautilus-persistence/ffi",
    "streaming",
]
high-precision = ["nautilus-model/high-precision"]
streaming = ["nautilus-persistence"]

[lib]
name = "nautilus_data"
crate-type = [
    "rlib",
    "cdylib",
]
path = "src/lib.rs"

[[test]]
name = "client"
path = "tests/client.rs"

[[test]]
name = "engine"
path = "tests/engine.rs"

[dependencies.ahash]
version = "0.8.12"
features = ["serde"]

[dependencies.alloy-primitives]
version = "1.5.7"
features = [
    "std",
    "serde",
]
optional = true
default-features = false

[dependencies.anyhow]
version = "1.0.102"

[dependencies.async-trait]
version = "0.1.89"

[dependencies.chrono]
version = "0.4.43"
features = [
    "serde",
    "std",
    "clock",
]
default-features = false

[dependencies.futures]
version = "0.3.32"
features = [
    "std",
    "async-await",
]
default-features = false

[dependencies.indexmap]
version = "2.13.0"
features = ["serde"]

[dependencies.log]
version = "0.4.29"
features = [
    "std",
    "kv_unstable",
    "serde",
    "release_max_level_debug",
]

[dependencies.nautilus-common]
version = "0.53.0"

[dependencies.nautilus-core]
version = "0.53.0"

[dependencies.nautilus-model]
version = "0.53.0"
features = ["stubs"]

[dependencies.nautilus-persistence]
version = "0.53.0"
optional = true

[dependencies.ustr]
version = "1.1.0"
features = ["serde"]

[dev-dependencies.rstest]
version = "0.26.1"

[dev-dependencies.tokio]
version = "1.49.0"
features = [
    "rt-multi-thread",
    "sync",
    "fs",
    "io-util",
    "net",
    "time",
    "macros",
    "signal",
    "test-util",
    "macros",
    "rt",
]
default-features = false

[lints.clippy]
bool_to_int_with_if = "warn"
borrow_as_ptr = "warn"
bytes_count_to_len = "warn"
checked_conversions = "warn"
cloned_instead_of_copied = "warn"
collapsible_else_if = "warn"
collapsible_if = "warn"
copy_iterator = "warn"
dbg_macro = "warn"
equatable_if_let = "warn"
expl_impl_clone_on_copy = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
filter_map_next = "warn"
flat_map_option = "warn"
from_iter_instead_of_collect = "warn"
get_first = "warn"
identity_op = "warn"
if_not_else = "warn"
if_same_then_else = "warn"
ignored_unit_patterns = "warn"
implicit_clone = "warn"
inconsistent_struct_constructor = "warn"
inefficient_to_string = "warn"
items_after_statements = "warn"
iter_kv_map = "warn"
iter_nth_zero = "warn"
large_stack_arrays = "warn"
manual_assert = "warn"
manual_filter = "warn"
manual_find = "warn"
manual_flatten = "warn"
manual_instant_elapsed = "warn"
manual_is_ascii_check = "warn"
manual_is_variant_and = "warn"
manual_let_else = "allow"
manual_map = "warn"
manual_range_contains = "warn"
manual_split_once = "warn"
manual_string_new = "warn"
manual_strip = "warn"
manual_while_let_some = "warn"
map_flatten = "warn"
map_identity = "warn"
map_unwrap_or = "warn"
match_bool = "warn"
match_like_matches_macro = "warn"
mut_mut = "warn"
naive_bytecount = "warn"
needless_bool = "warn"
needless_borrow = "warn"
needless_collect = "warn"
needless_for_each = "warn"
needless_return = "warn"
option_as_ref_deref = "warn"
option_if_let_else = "allow"
option_option = "warn"
or_fun_call = "allow"
panic_in_result_fn = "warn"
ptr_as_ptr = "warn"
range_plus_one = "warn"
redundant_clone = "warn"
redundant_closure = "warn"
redundant_else = "allow"
redundant_field_names = "warn"
return_self_not_must_use = "warn"
semicolon_if_nothing_returned = "warn"
single_char_pattern = "warn"
single_match_else = "allow"
stable_sort_primitive = "warn"
suspicious_doc_comments = "warn"
uninlined_format_args = "warn"
unnecessary_filter_map = "warn"
unnecessary_lazy_evaluations = "warn"
unnecessary_sort_by = "warn"
unnecessary_to_owned = "warn"
unnested_or_patterns = "warn"
use_self = "warn"
useless_conversion = "warn"
verbose_bit_mask = "warn"