1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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<RepoConfig> } pub struct RepoConfig { name: String, description: String, category: String, }