1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
extern crate chrono;
extern crate log;
extern crate pretty_env_logger;
extern crate prometheus;
extern crate serde;
extern crate serde_json;
extern crate uuid;
use build_core_config;
use CoreConfig;
use run_server;
/// main
///
/// Create a [`CoreConfig`](restapi::core::core_config::CoreConfig) and
/// start the server using the configuration. There are
/// many supported environment variables to customize most
/// layers of the stack.
///
/// Feel free to open a github issue to help me figure it out!
///
async