diff options
| author | tv <tv@krebsco.de> | 2026-10-31 18:38:43 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-31 18:38:43 +0100 |
| commit | 88b3d05543561d5a34a4ff96b9a8ca9351e1a98d (patch) | |
| tree | e5428ff0180459599d1d10ac890eb8a2e854bcad /src/document/mod.rs | |
| parent | 70beae3b936ee445659e471f40e59ffaa1e1a3d7 (diff) | |
move SyncSession to document
Diffstat (limited to 'src/document/mod.rs')
| -rw-r--r-- | src/document/mod.rs | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/document/mod.rs b/src/document/mod.rs index 2230e47..671bf5d 100644 --- a/src/document/mod.rs +++ b/src/document/mod.rs @@ -36,6 +36,7 @@ pub(crate) mod lock; pub(crate) mod meta; pub(crate) mod replica; pub(crate) mod store; +pub(crate) mod sync; #[cfg(test)] mod tests { @@ -53,17 +54,13 @@ mod tests { } } - /// Automerge is used only in `document`, `remake` and the sync session - /// (`state/session.rs`); the rest of the node names its types as `document` - /// re-exports them and works through `document` (`architecture.md`, The document). + /// Automerge is used only in `document` and `remake`; the rest of the node names + /// its types as `document` re-exports them and works through `document` + /// (`architecture.md`, The document). #[test] fn automerge_stays_behind_document() { let src = Path::new(env!("CARGO_MANIFEST_DIR")).join("src"); - let allowed = [ - src.join("document"), - src.join("remake"), - src.join("state").join("session.rs"), - ]; + let allowed = [src.join("document"), src.join("remake")]; let mut files = Vec::new(); sources(&src, &mut files); let mut found = Vec::new(); |
