refix-codegen 0.8.0

Code generator for typed FIX protocol messages, for the ReFIX engine
Documentation
1
2
3
4
5
6
/// The constructor a type checker sees on a generated class.
///
/// It takes no arguments. A received message is wrapped with `from_raw`.
pub(super) fn emit_constructor() -> String {
    "    if TYPE_CHECKING:\n        def __init__(self) -> None: ...\n".to_owned()
}