Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bwinf
medal
Commits
084e0775
Commit
084e0775
authored
Aug 01, 2019
by
Robert Czechowski
Browse files
Change visibility modifiers make parts of the programm visible in the documentation
parent
d3bb7fe1
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main.rs
View file @
084e0775
...
...
@@ -30,26 +30,24 @@ mod db_conn_postgres;
mod
db_conn_sqlite
;
mod
db_objects
;
use
db_conn
::{
MedalConnection
,
MedalObject
};
pub
mod
configreader_yaml
;
pub
mod
functions
;
pub
mod
oauth_provider
;
mod
webfw_iron
;
pub
use
db_conn
::{
MedalConnection
,
MedalObject
};
use
functions
::
SetPassword
;
// TODO: Refactor, so we don't need to take this from there!
use
db_objects
::
*
;
mod
configreader_yaml
;
mod
webfw_iron
;
use
webfw_iron
::
start_server
;
mod
functions
;
use
std
::
fs
;
use
std
::
path
;
use
std
::
path
::{
Path
,
PathBuf
};
use
structopt
::
StructOpt
;
mod
oauth_provider
;
#[derive(Serialize,
Deserialize,
Clone,
Default,
Debug)]
pub
struct
Config
{
host
:
Option
<
String
>
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment