Initial migration to MTP [Broken]

This commit is contained in:
Alex Emmet 2026-06-28 13:51:17 +02:00
commit da86bdaf5a
10 changed files with 693 additions and 563 deletions

View file

@ -1,9 +1,9 @@
use crate::transport::omikron_connection::OmikronConnection;
use dashmap::DashMap;
use mtp::codec::CommunicationValue;
use once_cell::sync::Lazy;
use rand::prelude::IteratorRandom;
use std::sync::Arc;
use ttp_core::CommunicationValue;
pub static OMIKRON_CONNECTIONS: Lazy<DashMap<i64, Arc<OmikronConnection>>> =
Lazy::new(|| DashMap::new());