RPC trait methods changed from &mut self to self: Rc<Self> and return types from Promise<(), Error> to impl Future<Output = Result<...>>. Updated all Server impls across 6 files: DaemonImpl (rpc.rs), NotifyForwarder (channels.rs), and ChannelServerImpl in all channel crates (irc, telegram, tmux, socat). Local pry! macro replaces capnp_rpc::pry to match the new impl Future return type. Warning-clean workspace build. Co-Authored-By: Proof of Concept <poc@bcachefs.org>
15 lines
341 B
TOML
15 lines
341 B
TOML
[package]
|
|
name = "consciousness-channel-socat"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[dependencies]
|
|
capnp = "0.25"
|
|
capnp-rpc = "0.25"
|
|
dirs = "6"
|
|
futures = "0.3"
|
|
poc-memory = { path = "../.." }
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-util = { version = "0.7", features = ["compat"] }
|
|
log = "0.4"
|
|
env_logger = "0.11"
|