crom 0.3.0

API client for Crom, a scraper for the SCP Wiki and related projects
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use chrono::prelude::*;
use graphql_client::GraphQLQuery;
use url::Url;

type URL = Url;
type DateTime = chrono::DateTime<Utc>;

#[derive(GraphQLQuery)]
#[graphql(
    schema_path = "src/schema.json",
    query_path = "src/search_pages.graphql",
    response_derives = "Debug,PartialEq"
)]
pub struct SearchPages;