Skip to main content

Crate ff_script

Crate ff_script 

Source
Expand description

Typed FCALL wrappers and Lua library loader for FlowFabric Valkey Functions.

Re-exports§

pub use error::ScriptError;
pub use retry::is_retryable_kind;
pub use retry::kind_to_stable_str;
pub use result::FromFcallResult;

Modules§

error
FlowFabric ScriptError — Lua error codes + transport errors.
functions
loader
Library loader: ensures the flowfabric Lua function library is loaded on the Valkey server at the expected version.
macros
The ff_function! declarative macro for typed FCALL wrappers.
result
Parse Valkey FCALL return values into structured results.
retry
Retry classification for ferriskey::ErrorKind.
stream_tail
Direct XREAD / XREAD BLOCK tail for attempt-scoped streams.

Macros§

ff_function
Generate typed async FCALL wrappers from a declarative specification.

Constants§

LIBRARY_SOURCE
The compiled FlowFabric Lua library source.
LIBRARY_VERSION
Expected library version. Must match FCALL ff_version 0 return.