1#![warn(rustc::all)]
46#![warn(clippy::pedantic)]
47#![deny(unsafe_code)]
48#![deny(unsafe_op_in_unsafe_fn)]
49#![deny(nonstandard_style)]
50#![deny(missing_debug_implementations)]
51#![deny(clippy::missing_errors_doc)]
52#![deny(clippy::missing_panics_doc)]
53#![deny(rustdoc::broken_intra_doc_links)]
54#![allow(
55 clippy::similar_names,
56 reason = "domain terms such as cache_greeks/cached_greeks and kv/k are intentionally parallel"
57)]
58#![allow(
59 clippy::cast_lossless,
60 clippy::cast_possible_truncation,
61 clippy::cast_possible_wrap,
62 clippy::cast_precision_loss,
63 clippy::cast_sign_loss,
64 reason = "common-layer math casts between i64/u64/usize/f64 with values bounded by domain ranges"
65)]
66#![allow(
67 clippy::must_use_candidate,
68 reason = "common-layer accessors and constructors are pervasive; #[must_use] noise is not warranted"
69)]
70#![allow(
71 clippy::trivially_copy_pass_by_ref,
72 reason = "trait method signatures are dictated by upstream interfaces and Python API parity"
73)]
74#![allow(
75 clippy::unsafe_derive_deserialize,
76 reason = "config types deserialize plain field values; unsafe in unrelated impls is sound"
77)]
78#![allow(
79 clippy::missing_fields_in_debug,
80 reason = "manual Debug impls intentionally omit verbose internal state and handler maps"
81)]
82#![allow(
83 clippy::struct_excessive_bools,
84 clippy::fn_params_excessive_bools,
85 reason = "config structs and constructors mirror existing Python configuration surfaces"
86)]
87#![allow(
88 clippy::too_many_lines,
89 reason = "actor and message bus dispatch functions exceed the default threshold by design"
90)]
91#![allow(
92 clippy::implicit_hasher,
93 reason = "hash maps in public APIs intentionally accept the default hasher"
94)]
95#![allow(
96 clippy::inline_always,
97 reason = "hot-path helpers in throttler and clock are intentionally always inlined"
98)]
99#![allow(
100 clippy::match_same_arms,
101 reason = "explicit per-variant arms document message dispatch even when bodies coincide"
102)]
103#![allow(
104 clippy::assert_is_empty,
105 reason = "`assert!(x.is_empty())` is clearer than comparing against an empty value"
106)]
107#![allow(clippy::clone_on_copy)]
110#![cfg_attr(
111 test,
112 allow(
113 clippy::default_trait_access,
114 clippy::float_cmp,
115 clippy::manual_let_else,
116 clippy::no_effect_underscore_binding,
117 clippy::should_panic_without_expect,
118 clippy::single_match_else,
119 clippy::unreadable_literal,
120 clippy::unused_self,
121 clippy::used_underscore_binding,
122 reason = "common tests assert exact float outputs and use loose patterns for fixture setup"
123 )
124)]
125
126pub mod actor;
127pub mod cache;
128pub mod clients;
129pub mod clock;
130pub mod component;
131pub mod config;
132pub mod custom;
133pub mod enums;
134pub mod factories;
135pub mod generators;
136pub mod greeks;
137pub mod logging;
138mod macros;
139pub mod messages;
140pub mod msgbus;
141pub mod providers;
142pub mod runner;
143pub mod signal;
144pub mod testing;
145pub mod throttler;
146pub mod timer;
147pub mod xrate;
148
149#[cfg(feature = "live")]
150pub mod live;
151
152#[cfg(feature = "defi")]
153pub mod defi;
154
155#[cfg(feature = "python")]
156pub mod python;
157
158#[cfg(feature = "capnp")]
159pub mod serialization;