| Crates.io | dear-imnodes-sys |
| lib.rs | dear-imnodes-sys |
| version | 0.8.0 |
| created_at | 2025-09-26 15:47:21.341237+00 |
| updated_at | 2026-01-02 18:06:40.443982+00 |
| description | Low-level FFI bindings for ImNodes via cimnodes (C API) |
| homepage | https://github.com/Latias94/dear-imgui-rs |
| repository | https://github.com/Latias94/dear-imgui-rs |
| max_upload_size | |
| id | 1856150 |
| size | 716,747 |
Low-level FFI bindings for ImNodes via the cimnodes C API.
This crate pairs with dear-imgui-sys (cimgui C API) and exposes imnodes_*
functions/types for higher-level crates (dear-imnodes).
Notes:
dear-imgui-sys (which
binds Dear ImGui via cimgui).extensions/dear-imnodes-sys/third-party/cimnodes.prebuilt: allow the build script to auto-download a release archive when available (or when IMNODES_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_imnodes static library:
cimnodes.cpp and upstream imnodes/imnodes.cpp with cc.dear-imgui-sys.IMNODES_SYS_LIB_DIR
dear_imnodes.lib (Windows/MSVC), libdear_imnodes.a (Unix).IMNODES_SYS_PREBUILT_URL
OUT_DIR/prebuilt/ and reused on subsequent builds.IMNODES_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_*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-imnodes/. See that crate and examples/imnodes_basic.rs for usage.