scel/crates/scel_core/src/lib.rs

20 lines
332 B
Rust
Raw Normal View History

use std::sync::Arc;
use services::InMemoryDownloadService;
pub mod services;
mod youtube;
#[allow(dead_code)]
pub struct App {
pub download_service: Arc<InMemoryDownloadService>,
2022-07-16 14:05:12 +02:00
}
impl App {
pub fn new() -> Self {
Self {
download_service: Arc::new(InMemoryDownloadService::new()),
}
}
2022-07-16 14:05:12 +02:00
}