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 | 8d7adfbdb7798cca9d9783761f290e3bd85d9a3a (patch) | |
| tree | 9efd09632fddfab97b6ff93b0f153c0a8de35c35 /src/document/mod.rs | |
| parent | e4f801db5d150fb1bf5540d9ba00f491a6129a5c (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 |
