Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
9d5fe00
[00070] Restore server-side app routing dropped by the 00034 merge
rorychatt Aug 1, 2026
8168fba
[00070] Add 14 app-routing tests to session.rs
rorychatt Aug 1, 2026
4c8e859
[00070] Add 12 socket-level app-routing tests to ws.rs
rorychatt Aug 1, 2026
703e66b
[00070] Resolve merge conflicts with main
rorychatt Aug 1, 2026
418e62a
Merge remote-tracking branch 'origin/main' into tendril/00070-Restore…
rorychatt Aug 1, 2026
0824ce0
Merge remote-tracking branch 'origin/main' into tendril/00070-Restore…
rorychatt Aug 1, 2026
7df54a5
[00070] Repair broken base: main does not compile
rorychatt Aug 1, 2026
ab1a162
Merge remote-tracking branch 'origin/main' into tendril/00070-Restore…
rorychatt Aug 1, 2026
8e3c8b8
Merge remote-tracking branch 'origin/main' into tendril/00070-Restore…
rorychatt Aug 2, 2026
f79c0ed
Merge remote-tracking branch 'origin/main' into tendril/00070-Restore…
rorychatt Aug 2, 2026
3e3c0c7
[00070] Repair broken base: widget type scan misses derive-based widgets
rorychatt Aug 2, 2026
8f27ad9
[00070] Repair broken base: clippy question_mark in rusty-macros
rorychatt Aug 2, 2026
0c72bb9
Merge remote-tracking branch 'origin/main' into tendril/00070-Restore…
rorychatt Aug 2, 2026
aa5328d
[00070] Repair broken base: orphaned size_css doc comment fails clippy
rorychatt Aug 2, 2026
065579a
[00070] Repair broken base: pre-commit hook harness fails 3 of 13 cases
rorychatt Aug 2, 2026
ddd1ec9
[00070] Resolve merge conflicts with main
rorychatt Aug 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rusty-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ fn expand_widget(input: &DeriveInput) -> syn::Result<proc_macro2::TokenStream> {
.iter()
.filter(|f| has_attr(f, "event"))
.map(EventSpec::parse)
.collect::<syn::Result<_>>()?;
.collect::<syn::Result<Vec<_>>>()?;

let has_id_field = fields
.iter()
Expand Down
12 changes: 12 additions & 0 deletions rusty/src/core/services.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,18 @@ impl ServiceRegistry {
.and_then(|any| any.downcast::<T>().ok())
}

/// Copy every service registered in `other` into this registry, replacing entries of
/// the same type.
///
/// Used to fold server-level services (registered once on `RustyServer`) into each
/// per-session registry. Copying `Arc`s means the instances stay shared across
/// sessions - only the lookup table is per-session.
pub fn extend_from(&self, other: &ServiceRegistry) {
let source = other.map.read().unwrap().clone();
let mut target = self.map.write().unwrap();
target.extend(source);
}

/// Number of registered services.
pub fn len(&self) -> usize {
self.map.read().unwrap().len()
Expand Down
Loading