1
0
mirror of https://github.com/bspeice/aeron-rs synced 2026-09-17 18:30:20 -04:00
Files
aeron-rs/src/lib.rs
T

16 lines
435 B
Rust

//! [Aeron](https://github.com/real-logic/aeron) client for Rust
#![deny(missing_docs)]
mod context;
/// Retrieve the C library version in (major, minor, patch) format
pub fn aeron_version() -> (u32, u32, u32) {
unsafe {
(
aeron_driver_sys::aeron_version_major() as u32,
aeron_driver_sys::aeron_version_minor() as u32,
aeron_driver_sys::aeron_version_patch() as u32,
)
}
}