diff --git a/Cargo.toml b/Cargo.toml index dddee93..0707275 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,5 +46,4 @@ minijinja = "1.0.12" pyo3 = { version = "0.20.2", features = ["auto-initialize"] } url = "2.5.0" itertools = "0.12.1" -[target.'cfg(target_os = "linux")'.dependencies] openssl = { version = "0.10", features = ["vendored"] } diff --git a/README.md b/README.md index 3612c69..78d8484 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ use rustream; async fn main() { match rustream::start().await { Ok(_) => { - println!("Successfully served session") + println!("RuStream session terminated") } Err(err) => { eprintln!("Error starting rustream: {}", err) diff --git a/src/lib.rs b/src/lib.rs index b3d5db8..86b4ceb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -21,7 +21,7 @@ mod routes; /// async fn main() { /// match rustream::start().await { /// Ok(_) => { -/// println!("Successfully served session") +/// println!("RuStream session terminated") /// } /// Err(err) => { /// eprintln!("Error starting rustream: {}", err) diff --git a/src/main.rs b/src/main.rs index d889b06..4f825b2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,7 +2,7 @@ async fn main() { match rustream::start().await { Ok(_) => { - println!("Successfully served session") + println!("RuStream session terminated") } Err(err) => { eprintln!("Error starting rustream: {}", err) diff --git a/src/squire/settings.rs b/src/squire/settings.rs index 01257cf..65b0c26 100644 --- a/src/squire/settings.rs +++ b/src/squire/settings.rs @@ -35,9 +35,11 @@ pub struct Config { #[serde(default = "default_website")] pub website: Vec, - // Certificate file + // Path to the full certificate chain file for SSL certificate #[serde(default="default_ssl")] pub cert_file: path::PathBuf, + // Path to the private key file for SSL certificate + #[serde(default="default_ssl")] pub key_file: path::PathBuf }