diff options
| author | tv <tv@krebsco.de> | 2026-10-31 19:51:52 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-31 19:51:52 +0100 |
| commit | f4b0a7c5159d418e22682d2bd7d413fb3587ca7f (patch) | |
| tree | 14a8a240970c43cc06e0042a376c80bd9f7b3418 /src/document/mod.rs | |
| parent | c83604d8f82b6c67a64e3cee6f5c012ee4a10fc1 (diff) | |
store function accept any document
Diffstat (limited to 'src/document/mod.rs')
| -rw-r--r-- | src/document/mod.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/document/mod.rs b/src/document/mod.rs index a348774..9633241 100644 --- a/src/document/mod.rs +++ b/src/document/mod.rs @@ -2,8 +2,10 @@ //! (merged-view paths over JSON) the HTTP API and remakes work with. /// The engine's types, under the names the rest of the crate uses: the document -/// (Automerge's `AutoCommit`), its changes and their hashes, and its writers (actors). +/// (Automerge's `AutoCommit`), its changes and their hashes, and its writers (actors); +/// and what can be written like a document (`Transactable`). /// Only `document` and `remake` use Automerge itself (`architecture.md`, The document). +pub(crate) use automerge::transaction::Transactable; pub(crate) use automerge::{ActorId, AutoCommit as Document, Change, ChangeHash}; /// The whole document as bytes, as the engine saves it: a backup, the document |
