Move to builder pattern and split up library #12

Merged
Jade merged 8 commits from zoe/builder-pattern into main 2026-06-26 18:54:20 +00:00
Member

Likely to be a breaking change.

Fixes #11, #2, #3
Unblocks #1 (#10) which in turn unblocks continuwuation/continuwuity#1505

Todo:

  • Documentation updates
  • Split server.rs into more than one file
  • Tests
  • Move tls_verify to correct branch (#10)

Note: #10 will be rebased on top of (and depend on) this branch due to various options being passed in.

Likely to be a breaking change. Fixes #11, #2, #3 Unblocks #1 (#10) which in turn unblocks continuwuation/continuwuity#1505 Todo: - [x] Documentation updates - [x] Split server.rs into more than one file - [x] Tests - [x] Move tls_verify to correct branch (#10) Note: #10 will be rebased on top of (and depend on) this branch due to various options being passed in.
s1lv3r self-assigned this 2026-06-22 23:58:46 +00:00
refactor: Move to builder pattern
Some checks failed
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 1m53s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 2m30s
f581cf166c
Note that the original methods still exist, but are marked as deprecated
chore: Formatting
Some checks failed
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 45s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 50s
18bfbb7df0
s1lv3r requested review from Jade 2026-06-23 00:02:06 +00:00
refactor: Remove tls_verify, move to unwrap_or
Some checks failed
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 56s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 55s
3bf74671a6
chore: Update docs, minor cleanup fixes, typos
Some checks failed
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 1m38s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 2m5s
86c55ce6c2
refactor: Extract components to separate files, fix tests
Some checks failed
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 44s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 1m0s
03dd83790a
Moves a lot of components from server.rs to separate files,
and adds tests for those components. Very much a WIP.
s1lv3r changed title from WIP: refactor: Move to builder pattern to WIP: Move to builder pattern and split up library 2026-06-23 19:40:44 +00:00
chore: Formatting
Some checks failed
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 32s
Checks / Prek / Clippy and Cargo Tests (pull_request) Failing after 47s
499b254041
chore: impl Default
Some checks failed
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 42s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 2m31s
afc130265c
chore: formatting
All checks were successful
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 30s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 1m36s
25777d2d91
damn you cargo fmt
tests: Add tests for builder
Some checks failed
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 44s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 1m42s
43da0c8114
chore: Add example for builder pattern
Some checks failed
Checks / Prek / Pre-commit & Formatting (pull_request) Failing after 31s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 1m35s
92b256691d
s1lv3r changed title from WIP: Move to builder pattern and split up library to Move to builder pattern and split up library 2026-06-23 21:18:51 +00:00
chore: cargo fmt
All checks were successful
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 30s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 1m37s
a1b4d4c3d4
chore: Remove "server" feat
All checks were successful
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 31s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 1m36s
f6ea748514
chore: Rename fields to be clearer
All checks were successful
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 30s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 1m36s
a6ca319609
@ -0,0 +11,4 @@
.cache_ttl(Duration::from_secs(1500))
.build()?;
// List of matrix servers to try resolving to demonstrate different discovery paths
Owner

Incongruous comment

Incongruous comment
s1lv3r marked this conversation as resolved
chore: Remove useless comment
All checks were successful
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m36s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 4m6s
10f1b0e931
Jade approved these changes 2026-06-26 18:39:10 +00:00
Jade force-pushed zoe/builder-pattern from 10f1b0e931
All checks were successful
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m36s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 4m6s
to 4ceab34893
All checks were successful
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 31s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 1m30s
2026-06-26 18:43:31 +00:00
Compare
Jade force-pushed zoe/builder-pattern from 4ceab34893
All checks were successful
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 31s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 1m30s
to 78c4842b92
Some checks failed
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 52s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
2026-06-26 18:47:44 +00:00
Compare
Jade force-pushed zoe/builder-pattern from 78c4842b92
Some checks failed
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 52s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
to 413a337afe
All checks were successful
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 30s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 1m31s
2026-06-26 18:49:19 +00:00
Compare
Jade force-pushed zoe/builder-pattern from 413a337afe
All checks were successful
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 30s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 1m31s
to afdbc27001
All checks were successful
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 30s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 1m33s
Checks / Prek / Pre-commit & Formatting (push) Successful in 1m44s
Checks / Prek / Clippy and Cargo Tests (push) Successful in 4m6s
2026-06-26 18:52:15 +00:00
Compare
Jade merged commit afdbc27001 into main 2026-06-26 18:54:20 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#13 Limit read of well-known file
continuwuation/resolvematrix
Reference
continuwuation/resolvematrix!12
No description provided.