add more colorschemes, fix tests and improve documentation

This commit is contained in:
neon_arch 2023-04-30 20:04:31 +03:00
parent 4a505fb1d5
commit 71fae8b496
13 changed files with 110 additions and 10 deletions

View file

@ -29,8 +29,9 @@ use handlebars::Handlebars;
///
/// ```rust
/// use std::net::TcpListener;
/// use websurfx::run;
/// use websurfx::{config_parser::parser::Config, run};
///
/// let config = Config::parse().unwrap();
/// let listener = TcpListener::bind("127.0.0.1:8080").expect("Failed to bind address");
/// let server = run(listener,config).expect("Failed to start server");
/// ```

View file

@ -3,7 +3,7 @@
use serde::Serialize;
use crate::config_parser::parser::Style;
use crate::config_parser::parser_models::Style;
/// A named struct to store and serialize the individual search result from all the scraped
/// and aggregated search results from the upstream search engines.