header = """/*
* Copyright © 2025-2026 Wenze Wei. All Rights Reserved.
*
* This file is part of Ri.
* The Ri project belongs to the Dunimd Team.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* Ri C API Header - Auto-generated by cbindgen
*
* This header provides C language bindings for the Ri middleware framework.
* Ri is a high-performance Rust middleware framework with modular architecture,
* built-in observability, and distributed systems support.
*
* For full documentation, see: https://mf2023.github.io/Ri/ri/
*/
"""
include_guard = "RI_H"
autogen_warning = "/* Warning: This file is auto-generated by cbindgen. Do not modify manually. */"
sys_includes = ["stdint.h", "stddef.h", "stdbool.h", "stdio.h"]
cpp_compat = true
[parse]
parse_deps = false
include = ["src/c/mod.rs"]
[export]
prefix = "CRi"
[fn]
sort_by = "Name"
rename_args = "GeckoCase"
[struct]
associated_constants_in_body = true
derive_constructor = true
[enum]
prefix_with_name = true
derive_helper_methods = true