From 84a9a0ccee713e26a28ff5e54ea3776085d93b5f Mon Sep 17 00:00:00 2001 From: Katharina Fey Date: Mon, 22 Jun 2020 01:48:59 +0200 Subject: Updating just like... a bunch of shit --- src/config.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/config.rs (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs new file mode 100644 index 0000000..99e8cff --- /dev/null +++ b/src/config.rs @@ -0,0 +1,17 @@ +//! Configuration to run octopus + +pub struct Config { + app_path: String, + port: u16, + handle_ssl: bool, + cache_path: String, + repos_path: String, + repo_discovery: bool, + repos: Vec +} + +pub struct RepoConfig { + name: String, + description: String, + category: String, +} -- cgit v1.2.3