Skip to content

Commit

Permalink
Add queue in Rust with multiple API features
Browse files Browse the repository at this point in the history
  • Loading branch information
ghubnerr committed Dec 26, 2024
1 parent fc070ff commit cee011b
Show file tree
Hide file tree
Showing 2 changed files with 514 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
use pyo3::prelude::*;

mod queue;
mod server;
mod signaling_types;
pub use signaling_types::SignalingMessage;

mod streamer;

use queue::QueueManager;
use server::SignalingServer;
use streamer::VideoStreamer;

#[pymodule]
fn aura(m: &Bound<'_, PyModule>) -> PyResult<()> {
m.add_class::<SignalingServer>()?;
m.add_class::<VideoStreamer>()?;
m.add_class::<QueueManager>()?;
Ok(())
}

Expand Down
Loading

0 comments on commit cee011b

Please sign in to comment.