Move IRC's disk logging to thalamus/channel_log.rs as shared functions: append_disk_log() and load_disk_log(). Any daemon can use them — opt-in, not mandatory (tmux won't use them). load_disk_log() populates a ChannelLog from disk on startup, so history survives daemon restarts. IRC daemon now uses the shared functions. Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev>
18 lines
506 B
TOML
18 lines
506 B
TOML
[package]
|
|
name = "consciousness-channel-telegram"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[dependencies]
|
|
capnp = "0.20"
|
|
capnp-rpc = "0.20"
|
|
dirs = "6"
|
|
futures = "0.3"
|
|
poc-memory = { path = "../.." }
|
|
reqwest = { version = "0.13", default-features = false, features = ["json", "form", "rustls"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-util = { version = "0.7", features = ["compat"] }
|
|
log = "0.4"
|
|
env_logger = "0.11"
|