| Crates.io | dear-implot-sys |
| lib.rs | dear-implot-sys |
| version | 0.8.0 |
| created_at | 2025-09-13 17:32:05.423893+00 |
| updated_at | 2026-01-02 18:05:33.679745+00 |
| description | Low-level FFI bindings for ImPlot via cimplot (C API) |
| homepage | https://github.com/Latias94/dear-imgui-rs |
| repository | https://github.com/Latias94/dear-imgui-rs |
| max_upload_size | |
| id | 1837949 |
| size | 1,845,743 |
Low-level FFI bindings for ImPlot via the cimplot C API. This crate pairs with dear-imgui-sys (cimgui C API) and exposes ImPlot_* functions/types for higher-level crates (dear-implot).
prebuilt: allow the build script to auto-download a release archive when available (or when IMPLOT_SYS_USE_PREBUILT=1).build-from-source: force building native sources with cc even if a prebuilt could be linked.freetype: passthrough to dear-imgui-sys/freetype to enable FreeType in the workspace.package-bin: enable an internal bin/package helper to produce release artifacts.This crate supports three ways to obtain the native dear_implot static library:
cimplot.cpp and embedded implot/*.cpp with cc.dear-imgui-sys.IMPLOT_SYS_LIB_DIR
dear_implot.lib (Windows/MSVC), libdear_implot.a (Unix).IMPLOT_SYS_PREBUILT_URL
OUT_DIR/prebuilt/ and reused on subsequent builds.IMPLOT_SYS_SKIP_CC
The build script also consumes the include paths and defines exported by dear-imgui-sys:
DEP_DEAR_IMGUI_IMGUI_INCLUDE_PATH, DEP_DEAR_IMGUI_CIMGUI_INCLUDE_PATHDEP_DEAR_IMGUI_DEFINE_*cargo build -p dear-implot-sys -p dear-implot
$env:IMPLOT_SYS_LIB_DIR = "C:\\prebuilt\\implot"
cargo build -p dear-implot-sys
export IMPLOT_SYS_LIB_DIR=/opt/implot/lib
cargo build -p dear-implot-sys
# Windows: URL must point to dear_implot.lib
$env:IMPLOT_SYS_PREBUILT_URL = "https://example.com/dear_implot.lib"
# Unix: URL must point to libdear_implot.a
export IMPLOT_SYS_PREBUILT_URL=https://example.com/libdear_implot.a
cargo build -p dear-implot-sys
dear-imgui-sys; this crate does not duplicate cargo:rustc-link-lib for it.dear-imgui-sys.docs.rs builds generate bindings only and export include paths for downstream crates.extensions/dear-implot/. See that crate for usage patterns and examples.