mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-16 20:57:48 -04:00
1d316d991e
Defines the canonical commitlog payload, and how to encode / decode it. Also exposes folds alongside iterators, which allows the common case of replaying the commitlog onto a database to be further optimized (the `Txdata` does not have to be constructed in this case). This optimization is, however, left for a future patch.
31 lines
706 B
TOML
31 lines
706 B
TOML
[package]
|
|
name = "spacetimedb-commitlog"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license-file = "LICENSE"
|
|
|
|
description = "Implementation of the SpacetimeDB commitlog."
|
|
|
|
[features]
|
|
default = ["serde"]
|
|
|
|
[dependencies]
|
|
bitflags.workspace = true
|
|
crc32c.workspace = true
|
|
itertools.workspace = true
|
|
log.workspace = true
|
|
serde = { workspace = true, optional = true }
|
|
spacetimedb-primitives.workspace = true
|
|
spacetimedb-sats.workspace = true
|
|
thiserror.workspace = true
|
|
tokio.workspace = true
|
|
|
|
[dev-dependencies]
|
|
env_logger.workspace = true
|
|
once_cell.workspace = true
|
|
proptest-derive.workspace = true
|
|
proptest.workspace = true
|
|
rand.workspace = true
|
|
tempfile.workspace = true
|