| Crates.io | mbe |
| lib.rs | mbe |
| version | 1.0.17 |
| created_at | 2025-02-04 01:40:58.243765+00 |
| updated_at | 2025-02-04 02:14:56.585774+00 |
| description | A binary encoding library designed for efficient data storage and transportation in trading platforms. |
| homepage | |
| repository | https://github.com/midassystems/mbn |
| max_upload_size | |
| id | 1541320 |
| size | 278,931 |
The Midas Binary Encoding (MBN) library is heavily inspired by and directly influenced by the Databento DBN library. When starting this project, I was new to Rust and binary encoding, and much of the initial development was based on learning from and building upon Databento's DBN implementation. While MBN will continue to evolve into its own implementation, it is important to acknowledge the foundational inspiration provided by Databento's work.
The Midas Binary Encoding (MBN) library is a foundational component of the Midas ecosystem. It serves as the shared protocol for encoding and decoding data across all Midas system components. Although users typically do not interact with MBN directly, it plays a crucial role in ensuring seamless data exchange between:
MBN functions similarly to protocol buffers, providing a structured and efficient binary format for data serialization and deserialization.
Add MBN to your Rust project's Cargo.toml:
[dependencies]
mbn = { git = "https://github.com/midassystems/mbn.git", branch = "main" }
For Python, MBN must be installed from source:
Clone the repository:
git clone https://github.com/midassystems/mbn.git
cd mbn/mbn_python
Install dependencies:
pip install -r requirements.txt
Build the package:
./test.sh
**Select build when prompted
Navigate to the desired installation location and install the built package:
cd mbn/mbn_python
pip install dist/*.whl
Contributions are welcome! Feel free to open an issue or submit a pull request with suggestions or improvements.
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.