podsync 0.1.12

A server to sync podcasts with, mirroring the gpodder API. Designed for use with AntennaPod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::{Deserialize, Serialize};

use crate::time::Timestamp;

#[derive(Debug, Serialize)]
pub struct SubscriptionChangesToClient {
    pub add: Vec<String>,
    pub remove: Vec<String>,
    pub timestamp: Timestamp,
}

#[derive(Debug, Deserialize)]
pub struct SubscriptionChangesFromClient {
    pub add: Vec<String>,
    pub remove: Vec<String>,
}