initial commit

This commit is contained in:
2019-05-19 16:55:20 +02:00
commit e4e12a659f
5 changed files with 33 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
/target
**/*.rs.bk

8
Cargo.toml Normal file
View File

@@ -0,0 +1,8 @@
[package]
name = "gopherbridge"
version = "0.1.0"
authors = ["Jali <jali@orca-central.de>"]
edition = "2018"
[dependencies]
config = "0.9"

3
src/gopherbridge.rs Normal file
View File

@@ -0,0 +1,3 @@
//! # Gopherbridge - A Bridge to display content form different sources in gopher
//! This module lists all sub modules
mod settings;

View File

@@ -0,0 +1,16 @@
//! # Settings
//! Implements a settings module
//!
//! ## Examples
//!
use config;
/// Read and access the configuration for the server
/// class uses the config module to read data from a
/// toml file or the command line.
pub struct Settings {
debug: bool,
listenPort: i32,
bridges: Vec<String>
}

4
src/main.rs Normal file
View File

@@ -0,0 +1,4 @@
fn main() {
println!("Hello, world!");
}