Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

airo_core

crates.io CI License: MIT

High-performance Rust engines for M3U playlist parsing, XMLTV EPG processing, bounded fuzzy text search, memory-mapped caching, and relational dataset management — built for the Airo platform ecosystem.


Features

  • Fast M3U / EXTINF Parser: Zero-copy SIMD-accelerated string scanning using memchr for ultra-fast playlist processing.
  • XMLTV EPG Engine: Streaming EPG XML parser built on quick-xml with timezone handling and program lookup.
  • Bundled Relational Store: Embedded rusqlite database layer for local media indexing and sync state management.
  • Bounded Fuzzy Search: Fast lexical and fuzzy text search engine tuned for channel and track matching.
  • Flutter / FFI Bridge Integration: Pre-wired for zero-overhead C-FFI and Flutter Rust Bridge binding export (cdylib, staticlib, rlib).

Installation

Add airo_core to your Cargo.toml:

[dependencies]
airo_core = "0.1.0"

Quick Example (M3U Parsing)

use airo_core::api::m3u::parse_m3u_content;

fn main() {
    let playlist = r#"#EXTM3U
#EXTINF:-1 tvg-id="News.in" group-title="News",News HD
https://stream.example.com/live.m3u8"#;

    let (channels, stats) = parse_m3u_content(playlist.as_bytes());
    println!("Parsed {} channels in total", channels.length());
}

Benchmarks

Run criterion benchmarks:

cargo bench

License

Licensed under the MIT License. See LICENSE for details.

About

High-performance Rust platform engine for M3U playlist, XMLTV EPG, text search, and relational store

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages