wcustom 0.1.0

Custom commands and extensions registry for wedb
//! WeDB 自定义扩展系统基座 (`wcustom`)
//!
//! 对标微软 Garnet 自定义扩展系统架构(`libs/server/Custom/`)的编译期
//! 静态承接形态:
//! - 自定义对象命令执行体(`CustomObjectFns`、`CommandType`)
//! - 自定义存储过程与事务基底(`CustomTransactionProcedure`, `CustomTxnProc`)
//! - 编译期事务过程静态表(`txn_proc` / `txn_proc_slot`,AOF 回放与
//!   RUNTXP 按槽位 id 直接索引)
//!
//! C# 侧 `CustomCommandManager` / `RegisterApi` 动态注册管理层按转写规范
//! 删除(js/check/ignore/server.yml 已声明),扩展命令由各扩展 crate
//! (如 wext_roaring)以静态枚举 / const 清单承接。

mod custom_object_fns;
mod custom_transaction_procedure;
mod txn_proc_table;

pub use custom_object_fns::{
  CommandType, CustomIsEmptyFn, CustomNeedInitialFn, CustomNotFoundFn, CustomObjectFns,
  CustomReaderFn, CustomUpdaterFn, RawStringFn,
};
pub use custom_transaction_procedure::{
  CustomTransactionProcedure, CustomTxnProc, DefaultTxnProc, LAST_SET_KV, SetTxnProc,
};
pub use txn_proc_table::{StaticTxnProc, TXN_PROCS, TxnProcFactory, txn_proc, txn_proc_slot};