codespawn 0.3.3

C++ and Rust code generator. Supports XML and JSON for API definitions.
Documentation
{
    "rust": [
      { "num_tabs": "1", "tab_char": "\t" },
      { "type": "int", "value": "c_int" },
      { "type": "float", "value": "c_float" },
      { "type": "void", "value": "c_void" },
      { "type": "char", "value": "c_char" },
      { "type": "int*", "value": "*mut c_int" },
      { "type": "float*", "value": "*mut c_float" },
      { "type": "void*", "value": "*mut c_void" },
      { "type": "const float*", "value": "*const c_float" },
      { "type": "const char*", "value": "*const c_char" },
      { "name": "GenericStruct", "value": "RustStruct" },
      { "name": "C-ABI", "value": "#[repr(C)]"},
      { "name": "DERIVE-DBG", "value": "#[derive(Debug)]"},
      { "name": "OPTION", "value": "Option<" },
      { "name": "OPTION_FPTR", "value": "Option<extern " },
      { "name": "...", "value": ""}
    ],

    "cpp": [
      { "name": "OPTION", "value": "" },
      { "name": "OPTION_FPTR", "value": "" }
    ]
}