Skip to content

Commit f133ae4

Browse files
committed
chore: minor updates
1 parent 9a9be7e commit f133ae4

4 files changed

Lines changed: 14 additions & 5 deletions

File tree

Cargo.lock

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ hyper = { version = "1.8.1", features = ["server"] }
3434
hyper-util = "0.1.19"
3535
log = "0.4.29"
3636
thiserror = "2.0.18"
37-
vetis = { version = "0.1.4-beta.4", path = "../vetis/vetis", default-features = false}
37+
vetis = { version = "0.1.4-beta.5", default-features = false}
3838
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
3939
toml = "0.9.11"
4040
serde = "1.0.228"

src/config.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,13 @@ pub struct SecurityConfig {
3333
cert_path: String,
3434
key_path: String,
3535
}
36+
37+
impl SecurityConfig {
38+
pub fn cert_path(&self) -> &str {
39+
&self.cert_path
40+
}
41+
42+
pub fn key_path(&self) -> &str {
43+
&self.key_path
44+
}
45+
}

src/tests/app.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ mod sophia_integration_tests {
3535
}
3636

3737
let _handler = test_handler;
38-
39-
assert!(true);
4038
}
4139

4240
#[tokio::test]
@@ -62,7 +60,6 @@ mod sophia_integration_tests {
6260
assert_eq!(config.listeners()[0].interface(), "127.0.0.1");
6361

6462
let _ = &mut sophia;
65-
assert!(true);
6663

6764
Ok(())
6865
}

0 commit comments

Comments
 (0)