| Crates.io | dear-implot3d-sys |
| lib.rs | dear-implot3d-sys |
| version | 0.8.0 |
| created_at | 2025-10-06 16:06:01.011109+00 |
| updated_at | 2026-01-02 18:08:58.645917+00 |
| description | Low-level FFI bindings for ImPlot3D via cimplot3d (C API) |
| homepage | https://github.com/Latias94/dear-imgui-rs |
| repository | https://github.com/Latias94/dear-imgui-rs |
| max_upload_size | |
| id | 1870377 |
| size | 1,111,367 |
Low-level FFI bindings for ImPlot3D via the cimplot3d C API. This crate pairs with dear-imgui-sys (cimgui C API) and exposes raw functions/types used by the high-level dear-implot3d crate.
prebuilt: allow the build script to auto-download a release archive when available (or when IMPLOT3D_SYS_USE_PREBUILT=1).build-from-source: force building native sources with cc even if a prebuilt could be linked.package-bin: enable an internal bin/package helper to produce release artifacts.This crate supports multiple ways to obtain the native dear_implot3d static library:
cimplot3d.cpp and upstream implot3d/*.cpp with cc.dear-imgui-sys.IMPLOT3D_SYS_LIB_DIR
dear_implot3d.lib (Windows/MSVC), libdear_implot3d.a (Unix).IMPLOT3D_SYS_PREBUILT_URL
.tar.gz package produced by our packager.OUT_DIR/prebuilt/ and reused on subsequent builds.IMPLOT3D_SYS_USE_PREBUILT
1 or the prebuilt feature is enabled, the build script may auto-download a release asset.IMPLOT3D_SYS_SKIP_CC
IMPLOT3D_SYS_FORCE_BUILD
IMPLOT3D_SYS_PACKAGE_DIR, IMPLOT3D_SYS_CACHE_DIR
The build script also consumes 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-implot3d-sys -p dear-implot3d
$env:IMPLOT3D_SYS_LIB_DIR = "C:\\prebuilt\\implot3d"
cargo build -p dear-implot3d-sys
export IMPLOT3D_SYS_LIB_DIR=/opt/implot3d/lib
cargo build -p dear-implot3d-sys
# Windows: URL must point to dear_implot3d.lib or a .tar.gz package
$env:IMPLOT3D_SYS_PREBUILT_URL = "https://example.com/dear_implot3d.lib"
# Unix: URL must point to libdear_implot3d.a or a .tar.gz package
export IMPLOT3D_SYS_PREBUILT_URL=https://example.com/libdear_implot3d.a
cargo build -p dear-implot3d-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-implot3d/. See that crate and examples/implot3d_basic.rs for usage.