Author-facing crate for Reflow actor packs.
use reflow_pack_sdk::{reflow_pack, PackHost};
use std::sync::Arc;
struct Hello;
impl reflow_pack_sdk::Actor for Hello { /* … */ }
#[reflow_pack]
fn register(host: &mut PackHost) {
host.register("my.pack.hello", || Arc::new(Hello));
}
A pack crate needs exactly one dep (reflow_pack_sdk), sets crate-type = ["cdylib"], and is built with the same rustc version as the host
runtime it targets.