korrosync 0.4.0

A KOReader Sync Server
Documentation
1
2
3
4
5
6
7
8
9
use std::sync::Arc;

use crate::service::db::KorrosyncService;

/// Application state shared across all routes
#[derive(Clone)]
pub struct AppState {
    pub sync: Arc<dyn KorrosyncService + Send + Sync>,
}