summaryrefslogtreecommitdiff
path: root/src/api/mod.rs
blob: d5997dce18f513a8eba5496c47b90c7f8ed57c6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use rocket::serde::json::Json;
use serde::{Deserialize, Serialize};

pub(crate) mod auth;
pub(crate) mod oauth;
pub(crate) mod profile;

#[derive(Clone, Copy, Serialize, Deserialize)]
#[serde(deny_unknown_fields)]
pub struct Empty {}

pub const EMPTY: Json<Empty> = Json(Empty {});