Merge rewrite deck serialization, timeline cache, add algo timelines #712

William Casarin (19):
      algos: introduce last_n_per_pubkey_from_tags
      wip algo timelines
      Initial token parser combinator
      token_parser: unify parsing and serialization
      token_serializer: introduce TokenWriter
      token_parser: simplify AddColumnRoute serialization
      tokens: add a more advanced tokens parser
      tokens: add AccountsRoute token serializer
      tokens: add PubkeySource and ListKinds token serializer
      tokens: add TimelineRoute token serializer
      tokens: initial Route token serializer
      add tokenator crate
      note_id: add hex helpers for root notes
      tokens: add token serialization for AlgoTimeline
      tokens: add token serialization for TimelineKind
      tokens: switch over to using token serialization
      Switch to unified timeline cache via TimelineKinds
      hashtags: click hashtags to open them
This commit is contained in:
William Casarin
2025-02-05 18:45:22 -08:00
46 changed files with 2256 additions and 2309 deletions

8
Cargo.lock generated
View File

@@ -2828,6 +2828,7 @@ dependencies = [
"strum_macros",
"tempfile",
"thiserror 2.0.7",
"tokenator",
"tokio",
"tracing",
"tracing-appender",
@@ -4527,6 +4528,13 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "tokenator"
version = "0.1.0"
dependencies = [
"hex",
]
[[package]]
name = "tokio"
version = "1.42.0"