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 | dfe0daa99e6e545f647715b73929cc3e244e8e0d (patch) | |
| tree | fdde6d487c0aca454bfa34bc60246cec802dd5eb /src/document/mod.rs | |
| parent | c49fcab2b329f18574de205acd21691ce1fa123f (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 |
