#fiddler #macro #module #fiddler-macros

macro fiddler-macros

Macros for internal use of registering plugins in fiddler

6 releases (1 stable)

new 1.0.0 Apr 28, 2025
0.3.1 Apr 15, 2024
0.2.1 Apr 8, 2024
0.1.1 Mar 31, 2024

#6 in #fiddler

Download history 1/week @ 2025-02-17

324 downloads per month
Used in 2 crates

Custom license

6KB

Helper macro for developing fiddler modules

Fiddler fiddler::config::Callback requires a return signature of std::pin::Pin<Box<dyn core::future::Future<Output = Result<ExecutionType, Error>> + Send>> This helper macro will accept a function signature of Fn(conf: Value) -> Result<ExecutionType, Error>and convert it to the async Bos::pin future that is needed to store as a type

Dependencies

~195–630KB
~15K SLoC