dear-imgui-rs is a Rust bindings ecosystem for Dear ImGui, featuring docking support, WGPU/GL/Vulkan backends, and a rich set of extensions (ImPlot/ImPlot3D, ImGuizmo/ImGuIZMO.quat, ImNodes, imgui-node-editor, ImGui Test Engine, file browser, reflection-based UI).
- Core
dear-imgui-sys— low-level FFI via cimgui (docking branch), with pregenerated bindings for Dear ImGui v1.92.8dear-imgui-rs— safe, idiomatic Rust API (RAII + builder style similar to imgui-rs)- Backends:
dear-imgui-wgpu,dear-imgui-glow,dear-imgui-ash,dear-imgui-winit,dear-imgui-sdl3,dear-imgui-bevydear-imgui-bevyis an experimental Bevy-native backend on Bevy0.19.0, with docking, texture interop, and native multi-viewport on supported targets.
dear-app— generation-aware Winit + WGPU application runtime (docking, themes, add-ons)
- Extensions
dear-imguizmo— 3D gizmo (cimguizmo C API) + a pure‑Rust GraphEditordear-imnodes— node editor (cimnodes C API)dear-node-editor— richer native node editor (cimnodes_editor / imgui-node-editor)dear-implot— plotting (cimplot C API)dear-implot3d— 3D plotting (cimplot3d C API)dear-imguizmo-quat— quaternion + 3D gizmo (cimguizmo_quat C API)dear-imgui-test-engine— Dear ImGui UI automation/test runner integrationdear-file-browser— native dialogs (rfd) + pure ImGui in-UI file browserdear-imgui-reflect— reflection-based UI helpers (auto-generate ImGui widgets from Rust types)
All crates are maintained together in this workspace.
use dear_imgui_rs::*;
let mut ctx = Context::create();
// If you are not using a platform backend (e.g. dear-imgui-winit / dear-imgui-sdl3),
// you must set `io.DisplaySize` before calling `Context::frame()`.
ctx.io_mut().set_display_size([300.0, 120.0]);
ctx.io_mut().set_delta_time(1.0 / 60.0);
let ui = ctx.frame();
ui.window("Hello")
.size([300.0, 120.0], Condition::FirstUseEver)
.build(|| {
ui.text("Hello, world!");
if ui.button("Click me") { println!("clicked"); }
});
let _draw_data = ctx.render();
// Rendering is done by a backend (e.g. dear-imgui-wgpu or dear-imgui-glow)
// Tip: pass `.opened(&mut open)` if you want a title-bar close button (X).
// Tip: For fallible creation, use `Context::try_create()`The README focuses on current supported usage. For source-breaking migrations between releases,
read CHANGELOG.md; for release-train, dependency, MSRV, and backend compatibility baselines, see
docs/COMPATIBILITY.md.
The safe API intentionally encodes Dear ImGui FFI invariants in Rust types. Source breaks are accepted when the previous safe wrapper shape could preserve stale handles, unchecked sizes, invalid sentinels, wrong-context access, or other states that should remain outside safe Rust.
Version 0.16.0 is an intentionally breaking architecture release. The main migrations are:
- legacy Columns to Tables and imperative
DockBuildercode to declarativeDockLayout; - global reflection helpers to an owned
ReflectSessionand per-frameInspector; - borrowed file-browser filesystems to
FileDialogState-owned blocking or background capabilities; - WGPU/Ash multi-viewport registration to an explicit unsafe stable-address and ordered-shutdown contract;
- implicit WASM target selection to the explicit
wasm32-unknown-unknownpluswasmfeature contract; and dear_imgui_sys::IMGUI_VERSIONtoBINDING_VERSION, without a compatibility alias.
The complete before/after examples and callback ABI notes are in the 0.16.0 changelog.
# Fresh source checkout. The native -sys crates need vendored submodules.
git clone --recursive https://github.com/Latias94/dear-imgui-rs
cd dear-imgui-rs
# If you already cloned without --recursive, run this inside the repo.
git submodule update --init --recursive
# Core & docking examples
cargo run --bin game_engine_docking
cargo run --bin dockspace_minimal
# dear-app examples (state-owning application runtime with docking support)
cargo run --bin dear_app_quickstart
cargo run --bin dear_app_docking
# Extension examples (using wgpu + winit directly)
cargo run --bin imguizmo_basic --features imguizmo
cargo run --bin imnodes_basic --features imnodes
# imgui-node-editor: basic uses the normal core; showcase opts into blueprint stack layout
cargo run -p dear-imgui-examples --bin node_editor_basic --features node-editor
cargo run -p dear-imgui-examples --bin node_editor_showcase --features node-editor-blueprints
cargo run --bin implot_basic --features implot
cargo run --bin imguizmo_quat_basic --features imguizmo-quat
cargo run --bin reflect_demo --features reflect
cargo run --bin imgui_test_engine_basic --features test-engine
# Smoke test (auto-run + exit)
cargo run --bin imgui_test_engine_basic --features test-engine -- --exit-when-done --group tests
# implot3d example (uses dear-app)
cargo run --bin implot3d_basic --features implot3d
# Vulkan (Ash) renderer examples (native)
cargo run --bin ash_basic
cargo run --bin ash_textures
# Multi-viewport (winit + Vulkan/Ash, native only)
cargo run -p dear-imgui-examples --bin multi_viewport_ash --features multi-viewport
# SDL3 + Vulkan/Ash multi-viewport (native only)
cargo run -p dear-imgui-examples --bin sdl3_ash_multi_viewport --features sdl3-ash-multi-viewport
# WebAssembly web demo (import-style, ImGui + optional extensions)
# See the "WebAssembly support" section below and docs/WASM.md for the exact target/feature contract.
# SDL3 backends (native)
# SDL3 + OpenGL3 with official C++ backends (multi-viewport via imgui_impl_sdl3/imgui_impl_opengl3)
cargo run -p dear-imgui-examples --bin sdl3_opengl_multi_viewport --features multi-viewport,sdl3-opengl3
# SDL3 + Glow (experimental multi-viewport using Rust Glow renderer)
cargo run -p dear-imgui-examples --bin sdl3_glow_multi_viewport --features multi-viewport,sdl3-platform
# SDL3 + WGPU (single-window)
cargo run -p dear-imgui-examples --bin sdl3_wgpu --features sdl3-platform
# SDL3 + WGPU (experimental multi-viewport, native only)
cargo run -p dear-imgui-examples --bin sdl3_wgpu_multi_viewport --features sdl3-wgpu-multi-viewport
# winit + WGPU (experimental multi-viewport testbed, native only)
# Enabled on Windows/macOS/Linux; tested on Windows/macOS, Linux untested.
cargo run -p dear-imgui-examples --bin multi_viewport_wgpu --features multi-viewportTip: The ImNodes example includes multiple tabs (Hello, Multi-Editor, Style, Advanced Style, Save/Load, Color Editor, Shader Graph, MiniMap Callback).
See examples/README.md for a curated index and the planned from‑easy‑to‑advanced layout.
# OS-native dialogs (rfd)
cargo run --bin file_dialog_native --features file-browser
# Pure ImGui in-UI file browser
cargo run --bin file_browser_imgui --features file-browser[dependencies]
dear-imgui-rs = "0.16.0"
# Choose a backend + platform integration
dear-imgui-wgpu = "0.16.0" # or dear-imgui-glow / dear-imgui-ash
dear-imgui-winit = "0.16.0" # or dear-imgui-sdl3dear-imgui-wgpu 0.16.0 defaults to WGPU 30. WGPU 29, 28, and 27 remain available as separate, mutually exclusive compatibility features:
[dependencies]
dear-imgui-rs = "0.16.0"
dear-imgui-wgpu = { version = "0.16.0", default-features = false, features = ["wgpu-29"] }
dear-imgui-winit = "0.16.0"Replace wgpu-29 with wgpu-28 or wgpu-27 when integrating an older WGPU application.
[dependencies]
dear-app = "0.16.0" # State-owning Winit + WGPU runtime with docking supportFor Apple/mobile integration, use the repository-owned iOS smoke examples as reference integrations:
examples-ios/dear-imgui-ios-smokedear-imgui-winit + dear-imgui-wgpu
examples-ios/dear-imgui-ios-sdl3-smokedear-imgui-sdl3 + dear-imgui-wgpu
These examples exist to validate and teach the integration boundary. They are not a turn-key mobile runtime layer.
For Apple-specific integration notes and example boundaries, see
docs/workstreams/apple-platform-support.md.
For the checked-in iOS smoke templates and a quick route-selection index, see
examples-ios/README.md.
Most users should stay on the safe backends (dear-imgui-winit,
dear-imgui-sdl3, dear-imgui-wgpu, dear-imgui-glow, dear-imgui-ash).
If you need to integrate a custom engine or renderer, start with
docs/CUSTOM_BACKENDS.md.
For engine integrations or platform stacks that are not wrapped by a dedicated
crate yet, dear-imgui-sys can expose selected official backend pieces behind
backend-shim-* feature gates. These are repository-owned C shim entry points,
not direct promises about the upstream imgui_impl_* C++ ABI.
Example: low-level Android route without a dedicated Android convenience crate:
[dependencies]
dear-imgui-rs = "0.16.0"
dear-imgui-sys = { version = "0.16.0", features = ["backend-shim-android", "backend-shim-opengl3"] }Recommended ownership split:
dear-imgui-rsowns the safe coreContext,Io, frame lifecycle, and draw data handling.dear-imgui-sys::backend_shim::{android, opengl3}exposes the low-level official backend pieces.- The application still owns Android lifecycle glue, EGL / GLES context creation, packaging, and signing.
The repository includes a concrete template for this path at
examples-android/dear-imgui-android-smoke/. It is intentionally kept outside
the default workspace build so we can document and validate the Android route
without expanding the normal desktop/web CI matrix, and it is not intended to
be a separately published runtime crate.
For the current Android smoke-template overview, see
examples-android/README.md.
If your application already uses SDL3, prefer dear-imgui-sdl3 as the higher
level Android integration direction. Even there, the application still owns SDL3
Android packaging, NDK toolchain configuration, and final APK / app-bundle
assembly.
[dependencies]
# Plotting
dear-implot = "0.16.0" # 2D plotting
dear-implot3d = "0.16.0" # 3D plotting
# 3D Gizmos
dear-imguizmo = "0.16.0" # Standard 3D gizmo + GraphEditor
dear-imguizmo-quat = "0.16.0" # Quaternion-based gizmo
# Node Editor
dear-imnodes = "0.16.0"
dear-node-editor = "0.16.0" # native-only; add feature "blueprints" for stack layout
# Test automation
dear-imgui-test-engine = "0.16.0"
# File Browser
dear-file-browser = "0.16.0" # Native dialogs + ImGui file browser
# Reflection-based UI helpers
dear-imgui-reflect = "0.16.0"dear-imgui-reflect lets you derive ImGuiReflect on your structs/enums and automatically get Dear ImGui editors for them. It is inspired by the C++ ImReflect library but implemented in pure Rust on top of dear-imgui-rs.
Typical flow:
use dear_imgui_reflect as reflect;
use reflect::{ImGuiReflect, ImGuiReflectExt};
#[derive(ImGuiReflect, Default)]
struct Settings {
#[imgui(slider, min = 0, max = 100)]
volume: i32,
fullscreen: bool,
}
fn ui_frame(
session: &reflect::ReflectSession,
ui: &reflect::imgui::Ui,
settings: &mut Settings,
) {
let mut inspector = ui.inspector(session);
inspector.input("Settings", settings);
}- Default: build from source on all platforms. Prebuilt binaries are optional and off by default.
- Source builds from a repository checkout require initialized submodules because the native C/C++ sources live under
dear-imgui-sys/third-party/cimguiand extensionthird-party/directories. Usegit clone --recursive ...for a fresh checkout, orgit submodule update --init --recursiveinside an existing checkout. - Windows core packages cover both MSVC CRT modes (MD/MT), with optional
freetypeand a distinctstack-layoutartifact profile. Linux and macOS core archives are also eligible for opt-in release download on their supported targets; source builds remain the default everywhere. - Opt-in core prebuilt download from Release: enable
dear-imgui-sys/prebuilt(the env toggleIMGUI_SYS_USE_PREBUILT=1is still accepted but requires that feature).IMGUI_SYS_LIB_DIRpoints to the static-library directory and requires its matchingmanifest.txtthere or in the parent artifact root, whileIMGUI_SYS_PREBUILT_URLshould point to a package-tool-generated archive. Bare core.a/.libfiles without adjacent provenance are rejected. - Every accepted core prebuilt manifest records crate/version, target, link type, MSVC CRT, normalized features, cimgui and Dear ImGui revisions, and the binding-spec hash. Missing, unknown, duplicate, or mismatched fields reject the core artifact instead of falling back to an ABI guess. Extension
*-syscrates retain their crate-specific prebuilt contracts.
Test engine hooks (important):
- Enabling
dear-imgui-sys/test-enginedefinesIMGUI_ENABLE_TEST_ENGINEand makes the ImGui objects reference hook symbols (e.g.ImGuiTestEngineHook_*).- When enabled,
dear-imgui-sysalso provides the hook symbols, so workspace feature-unification won't cause linker errors. - To actually run UI automation/tests, link
dear-imgui-test-engine(ordear-imgui-test-engine-sys), which registers the real hook implementations at runtime.
- When enabled,
Common env-var shapes used by -sys crates (consult each crate README for its exact contract):
<CRATE>_SYS_LIB_DIR— explicit library directory; coreIMGUI_SYS_LIB_DIRalso requires the strict matchingmanifest.txtin that directory or its parent artifact root<CRATE>_SYS_PREBUILT_URL— explicit URL or local artifact path; for core use a packaged archive rather than a bare.a/.lib(HTTP(S) and.tar.gzextraction require featureprebuilt)<CRATE>_SYS_USE_PREBUILT=1— allow auto download from GitHub Releases (requires featureprebuilt)<CRATE>_SYS_PACKAGE_DIR— local dir with.tar.gzpackages<CRATE>_SYS_CACHE_DIR— cache root for downloads/extraction<CRATE>_SYS_SKIP_CC— skip C/C++ compilation<CRATE>_SYS_FORCE_BUILD— force source buildIMPLOT_SYS_USE_CMAKE— prefer CMake fordear-implot-syswhen available; otherwise ccCARGO_NET_OFFLINE=true— forbid network; use only local packages or repo prebuilt
FreeType: enable once anywhere. Turning on freetype in dear-implot, dear-imnodes, dear-node-editor, dear-imguizmo, dear-imguizmo-quat, or dear-imgui-test-engine propagates to dear-imgui-sys. Source builds probe pkg-config freetype2 first and then vcpkg's freetype port; if neither is available, the build fails instead of silently disabling FreeType. When using a prebuilt dear-imgui-sys with freetype, ensure the package manifest includes features=freetype (our packager writes this).
Blueprint stack layout is native-only and opt-in. Enable dear-node-editor/blueprints (or dear-imgui-rs/stack-layout for direct use) to select the patched Dear ImGui core artifact. Prebuilt manifests must match exactly: normal and freetype-only artifacts omit stack-layout, while blueprint artifacts declare it and use the -stack-layout archive suffix. When freetype is also enabled, the manifest and archive name declare both features. The four feature combinations (normal, freetype, stack-layout, and stack-layout + freetype) are never substituted for each other.
Quick examples (enable auto prebuilt download):
- Feature:
cargo build -p dear-imgui-sys --features prebuilt - Env (Unix):
IMGUI_SYS_USE_PREBUILT=1 cargo build -p dear-imgui-sys --features prebuilt - Env (Windows PowerShell):
$env:IMGUI_SYS_USE_PREBUILT='1'; cargo build -p dear-imgui-sys --features prebuilt
The workspace follows a release-train model. The table below lists the latest, recommended combinations. See docs/COMPATIBILITY.md for version history and compatibility policy.
Core
| Crate | Version | Notes |
|---|---|---|
| dear-imgui-rs | 0.16.0 | Safe Rust API over dear-imgui-sys |
| dear-imgui-sys | 0.16.0 | Dear ImGui v1.92.8 docking via cimgui |
Backends
| Crate | Version | External deps | Notes |
|---|---|---|---|
| dear-imgui-wgpu | 0.16.0 | wgpu = 30/29/28/27 | WebGPU renderer; WGPU 30 default, native Winit/SDL3 multi-viewport, browser single-window |
| dear-imgui-glow | 0.16.0 | glow = 0.17 | OpenGL renderer (winit/glutin) |
| dear-imgui-ash | 0.16.0 | ash = 0.38 | Native Vulkan renderer with Winit/SDL3 multi-viewport adapters |
| dear-imgui-winit | 0.16.0 | winit = 0.30.13 | Winit platform backend |
| dear-imgui-sdl3 | 0.16.0 | sdl3 = 0.18.4 | SDL3 platform backend with optional official OpenGL3, SDLRenderer3, and SDLGPU3 renderers |
| dear-imgui-bevy | 0.16.0 | Bevy = 0.19.0 | Experimental Bevy-native backend with docking, texture interop, and native multi-viewport |
Application Runtime
| Crate | Version | Requires dear-imgui-rs | Notes |
|---|---|---|---|
| dear-app | 0.16.0 | 0.16.0 | Generation-aware Winit + WGPU application runtime |
Extensions
| Crate | Version | Requires dear-imgui-rs | Sys crate | Notes |
|---|---|---|---|---|
| dear-implot | 0.16.0 | 0.16.0 | dear-implot-sys 0.16.0 | 2D plotting |
| dear-imnodes | 0.16.0 | 0.16.0 | dear-imnodes-sys 0.16.0 | WASM-capable node editor |
| dear-node-editor | 0.16.0 | 0.16.0 | dear-node-editor-sys 0.16.0 | Native imgui-node-editor; optional blueprints profile |
| dear-imguizmo | 0.16.0 | 0.16.0 | dear-imguizmo-sys 0.16.0 | 3D gizmo + GraphEditor |
| dear-file-browser | 0.16.0 | 0.16.0 | — | State-owned ImGui UI + native dialog backends |
| dear-implot3d | 0.16.0 | 0.16.0 | dear-implot3d-sys 0.16.0 | 3D plotting |
| dear-imguizmo-quat | 0.16.0 | 0.16.0 | dear-imguizmo-quat-sys 0.16.0 | Quaternion gizmo |
| dear-imgui-test-engine | 0.16.0 | 0.16.0 | dear-imgui-test-engine-sys 0.16.0 | UI automation and test runner |
| dear-imgui-reflect | 0.16.0 | 0.16.0 | — | Session-owned reflection UI |
The workspace MSRV is Rust 1.92. The experimental Bevy backend requires Rust 1.95 because Bevy 0.19 does. Select exactly one WGPU major; dear-app follows the WGPU 30 default.
Maintenance rules
- Upgrade dear-imgui-sys together with all -sys extensions to avoid C ABI/API drift.
- dear-imgui-rs upgrades may require minor changes in backends/extensions if public APIs changed.
- Backend external deps (wgpu/winit/glow) have their own breaking cycles and may trigger a coordinated bump of the unified publishable release train.
- Workflow:
.github/workflows/prebuilt-binaries.yml- Inputs:
tag(release) orbranch(manual; defaultmain)crates: comma-separated list (all,dear-imgui-sys,dear-implot-sys,dear-implot3d-sys,dear-imnodes-sys,dear-node-editor-sys,dear-imguizmo-sys,dear-imguizmo-quat-sys)
- Artifacts (branch builds) or Release assets (tag builds) include
.tar.gzpackages named:dear-<name>-prebuilt-<version>-<target>-static[-stack-layout][-freetype][-mt|-md].tar.gz - Release download URLs default to owner/repo configured in
tools/build-support/src/lib.rs. Override via env:BUILD_SUPPORT_GH_OWNER,BUILD_SUPPORT_GH_REPO.
- Inputs:
- FFI layer is generated from the cimgui
docking_interbranch matching Dear ImGui v1.92.8. - Core cimgui calls cross a C ABI boundary, but callback-bearing
ImGuiPlatformIOfields still have C++ compiler ABI-sensitive signatures. The repository-owned aggregate callback shims translate the sevenImVec2/ImVec4by-value slots to pointer/out-parameter C callbacks and are exercised on MSVC/MDand/MT. - Checked-in bindings are target profiles, not one universal header snapshot: Windows 64-bit, supported non-Windows native targets, and the fixed browser import ABI each have a separate reproducible artifact.
BINDING_VERSIONis the Rust binding crate release version. It is the direct replacement for the oldIMGUI_VERSIONconstant; useigGetVersion()to inspect the linked Dear ImGui runtime.- The safe layer follows Rust ownership and RAII conventions; raw
dear-imgui-sysremains the explicitly unsafe escape hatch.
dear-imgui-rs/ # Safe Rust bindings (renamed from dear-imgui)
dear-imgui-sys/ # cimgui FFI (docking; ImGui v1.92.8)
backends/
dear-imgui-wgpu/ # WGPU renderer
dear-imgui-glow/ # OpenGL renderer
dear-imgui-ash/ # Vulkan/Ash renderer
dear-imgui-winit/ # Winit platform
dear-imgui-sdl3/ # SDL3 platform/renderers
dear-imgui-bevy/ # Bevy integration
dear-app/ # State-owning application runtime (Winit + WGPU + docking + themes)
extensions/
dear-imguizmo/ # ImGuizmo + pure‑Rust GraphEditor
dear-imnodes/ # ImNodes (node editor)
dear-node-editor/ # imgui-node-editor (native-only node editor)
dear-implot/ # ImPlot (2D plotting)
dear-implot3d/ # ImPlot3D (3D plotting)
dear-imguizmo-quat/ # ImGuIZMO.quat (quaternion gizmo)
dear-imgui-test-engine/ # ImGui Test Engine integration
dear-file-browser/ # File dialogs (rfd) + pure ImGui browser
dear-imgui-reflect/ # Reflection-based UI helpers for dear-imgui-rs
dear-imgui-reflect-derive/ # Derive macro for reflection-based inspectors
Native extension crates have adjacent low-level *-sys companions, and release
tooling lives under tools/; see the workspace manifest for the complete member
list.
The supported Rust target is exactly wasm32-unknown-unknown. Every dependency path to the core crate must explicitly enable wasm; the target alone no longer selects browser bindings:
[dependencies]
dear-imgui-rs = { version = "0.16.0", features = ["wasm"] }The Rust module imports cimgui from the fixed provider name imgui-sys-v0, and both modules share one WebAssembly.Memory. The provider name is part of the ABI and is not configurable. Builds for WASI, Rust Emscripten targets, missing wasm feature forwarding, or wasm + stack-layout fail rather than falling back to another binding profile.
Quick start:
rustup target add wasm32-unknown-unknown
# Install wasm-bindgen-cli at the version recorded in Cargo.lock, plus wasm-tools.
cargo run -p xtask -- web-demo
cargo run -p xtask -- build-cimgui-provider
python3 -m http.server -d target/web-demo 8080
# Open http://127.0.0.1:8080Pass a comma-separated extension list to the demo command, for example cargo run -p xtask -- web-demo implot,imnodes. Native multi-viewport, dear-node-editor, and the blueprints stack-layout profile are unavailable in the browser; use dear-imnodes for the current WASM node-editor route.
For binding verification, provider construction, feature-forwarding checks, and troubleshooting, see docs/WASM.md.
- Multi-viewport support
- SDL3 + OpenGL3: supported via upstream C++ backends (
imgui_impl_sdl3+imgui_impl_opengl3).- Example:
cargo run -p dear-imgui-examples --bin sdl3_opengl_multi_viewport --features multi-viewport,sdl3-opengl3
- Example:
- Winit/SDL3 + WGPU: native-only renderer adapters with WGPU 30 by default. Select exactly one platform route, keep the renderer at a stable address, and call renderer shutdown before platform shutdown and object destruction.
- Winit example:
cargo run -p dear-imgui-examples --bin multi_viewport_wgpu --features multi-viewport - SDL3 example:
cargo run -p dear-imgui-examples --bin sdl3_wgpu_multi_viewport --features sdl3-wgpu-multi-viewport
- Winit example:
- Winit/SDL3 + Ash: native-only Vulkan adapters share one callback/swapchain runtime for classic render-pass and dynamic-rendering routes. The same unsafe stable-address and ordered-shutdown contract applies.
- Winit example:
cargo run -p dear-imgui-examples --bin multi_viewport_ash --features multi-viewport - SDL3 example:
cargo run -p dear-imgui-examples --bin sdl3_ash_multi_viewport --features sdl3-ash-multi-viewport
- Winit example:
- Call
Context::enable_multi_viewport()for viewports. EnableConfigFlags::DOCKING_ENABLEseparately when the application also needs docking. - winit + OpenGL (glow/glutin): no official multi-viewport stack at the moment. Use SDL3 + OpenGL3 / SDL3 + Glow if you need multi-viewport OpenGL.
- SDL3 + OpenGL3: supported via upstream C++ backends (
- WebAssembly (WASM): Supported via the import-style build described above; some features (clipboard, raw draw callbacks, multi-viewport) remain disabled on wasm.
- dear-node-editor: First integration phase is native-only. Use
dear-imnodesfor the current wasm node-editor path.
If you're working with graphics applications in Rust, you might also be interested in:
- asset-importer - A comprehensive Rust binding for the latest Assimp 3D asset import library, providing robust 3D model loading capabilities for graphics applications
- boxdd - Safe, ergonomic Rust bindings for Box2D v3.
This project builds upon the excellent work of several other projects:
- Dear ImGui by Omar Cornut - The original C++ immediate mode GUI library
- cimgui - The C API layer used by the core Dear ImGui sys crate
- imgui-rs - Provided the API design patterns and inspiration for the Rust binding approach
- easy-imgui-rs by rodrigorc
- imgui-wgpu-rs - Provided reference implementation for WGPU backend integration
- imgui-node-editor by Michał Cichoń - Native node editor implementation and blueprint-style example references
- cimnodes_editor - C wrapper used for the
dear-node-editor-sysbinding layer
Dual-licensed under either of:
- Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (http://opensource.org/licenses/MIT)
Vendored third-party native projects keep their own licenses. In particular,
imgui-node-editor is MIT-licensed, and the stack layout compatibility shim in
dear-imgui-sys is derived from its MIT-licensed vendored stack layout
extension. See the relevant *-sys README files and
dear-imgui-sys/THIRD_PARTY_NOTICES.md for details.









