lwprintf-rs 0.2.0

Rust bindings for the lightweight printf library lwprintf.
Documentation
/**
 * \file            lwprintf_opts_template.h
 * \brief           LwPRINTF configuration file
 */

/*
 * Copyright (c) 2024 Tilen MAJERLE
 *
 * Permission is hereby granted, free of charge, to any person
 * obtaining a copy of this software and associated documentation
 * files (the "Software"), to deal in the Software without restriction,
 * including without limitation the rights to use, copy, modify, merge,
 * publish, distribute, sublicense, and/or sell copies of the Software,
 * and to permit persons to whom the Software is furnished to do so,
 * subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
 * AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 *
 * This file is part of LwPRINTF - Lightweight stdio manager library.
 *
 * Author:          Tilen MAJERLE <tilen@majerle.eu>
 * Version:         v1.1.0
 */
#ifndef LWPRINTF_OPTS_HDR_H
#define LWPRINTF_OPTS_HDR_H

/* Rename this file to "lwprintf_opts.h" for your application */

/*
 * Open "include/lwprintf/lwprintf_opt.h" and
 * copy & replace here settings you want to change values
 */

#define LWPRINTF_CFG_OS 0
// #define LWPRINTF_CFG_OS_MUTEX_HANDLE 1
#define LWPRINTF_CFG_SUPPORT_LONG_LONG 1
#define LWPRINTF_CFG_SUPPORT_TYPE_INT 1
#define LWPRINTF_CFG_SUPPORT_TYPE_POINTER 1
#define LWPRINTF_CFG_SUPPORT_TYPE_FLOAT 1
#define LWPRINTF_CFG_SUPPORT_TYPE_ENGINEERING 1
#define LWPRINTF_CFG_SUPPORT_TYPE_STRING 1
#define LWPRINTF_CFG_SUPPORT_TYPE_BYTE_ARRAY 1
#define LWPRINTF_CFG_FLOAT_DEFAULT_PRECISION 1
#define LWPRINTF_CFG_ENABLE_SHORTNAMES 1
#endif /* LWPRINTF_OPTS_HDR_H */