14 releases
new 0.1.33 | Nov 4, 2024 |
---|---|
0.1.32 | Nov 4, 2024 |
0.1.27 | Oct 31, 2024 |
#997 in Network programming
1,137 downloads per month
15MB
265K
SLoC
Contains (JAR file, 44KB) aeron/gradle/wrapper/gradle-wrapper.jar
rusteron-archive
rusteron-archive is a module within the rusteron project that provides functionalities for interacting with Aeron's archive capabilities in a Rust environment. This module aims to extend rusteron-client by offering features for recording streams, managing archives, and handling replay capabilities.
Overview
The rusteron-archive module is intended to help Rust developers leverage Aeron's archive functionalities, including the recording and replaying of messages. However, this module is currently in an early stage and has not been thoroughly tested.
The code in rusteron-archive is generated as a Rust wrapper around the Aeron C archive API, making it easier for Rust developers to work with Aeron's archiving capabilities. Since this module also uses C bindings, it involves an unsafe
context, and extra caution is advised when using it.
Project Status
- Current Focus: Our primary focus is currently on rusteron-client. As such, rusteron-archive has not undergone extensive testing.
- Alpha Version: rusteron-archive is in an alpha stage, and developers are encouraged to experiment with it, but it is not recommended for production use at this point.
Installation
To use rusteron-archive, add it to your Cargo.toml
:
dynamic lib
[dependencies]
rusteron-archive = "0.1"
static lib
[dependencies]
rusteron-archive = { version = "0.1", features= ["static"] }
Ensure that you have also set up the necessary Aeron C libraries required by rusteron-archive.
Features
- Stream Recording: Enables recording of Aeron streams.
- Replay Handling: Provides capabilities for replaying recorded messages.
Safety Considerations
Since rusteron-archive relies on Aeron C bindings, it uses unsafe
Rust code. Users must ensure that resources are managed properly to avoid crashes or undefined behaviour.
Building This Project Instructions
For detailed instructions on how to build rusteron, please refer to the HOW_TO_BUILD.md file.
Benchmarks
You can view the benchmarks for this project by visiting BENCHMARKS.md.
Contributing
Contributions are welcome! Please see our contributing guidelines for more information on how to get involved.
License
This project is dual-licensed under either the MIT License or Apache License 2.0. You may choose which one to use.
Links
Feel free to reach out with any questions or suggestions via GitHub Issues!