crates/adapters/binance/src/spot/sbe/README.md
generated/ contains Rust code generated by Real Logic's Simple Binary Encoding
(SBE) generator from the Binance Spot API SBE schema (schema 3:3). Do not edit
these files manually. Regenerate them with the Real Logic SBE tool when the schema
changes.stream/ contains hand-written decoders for Binance market data stream messages (schema 1:0).nautilus-serialization behind the sbe feature and re-exported from this module for compatibility.Licensing
generated/ codecs are generated using the Apache-2.0 licensed Real Logic
SBE tool; see ../../../licenses/Apache-2.0-RealLogic-SBE.txt and the entry in
../../../licenses/THIRD_PARTY_LICENSES.md.stream/ code is covered by the NautilusTrader project license.Modifications
The generated generated/ code has been modified from the original SBE generator output:
mod.rs for clippy compatibilitypub use statements to appear before use super::* (fixes rustfmt)Regeneration
When regenerating from a new schema, reapply these modifications:
generated/generated/mod.rs (see existing file)pub use ordering in each codec filemod.rs accordingly