Reorganize main crate for testability.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-09-27 12:05:38 +00:00
parent ba12773a5a
commit 1313eb0b64
11 changed files with 248 additions and 214 deletions

View File

@@ -51,6 +51,11 @@ assets = [
name = "tuwunel"
pkgdesc = "High performance Matrix homeserver written in Rust"
[lib]
path = "lib.rs"
bench = false
crate-type = ["rlib"]
[features]
default = [
"brotli_compression",
@@ -84,6 +89,7 @@ bzip2_compression = [
"tuwunel-service/bzip2_compression",
]
console = [
"tuwunel-core/console",
"tuwunel-service/console",
]
direct_tls = [