c1ccb4eb6f
- This now builds the bindings (still with cbindgen in build.rs, will change that in a bit) and links to them successfully. Everything currently points to the master branch at Gekkio/imgui-rs, because there has not been a release yet with the PR merged that exposes the defines in the sys crate. - I have now included a little demo crate that calls into the unsafe generated bindings as a proof of concept. Next there will need to be safe and more Rust-y bindings written around this, just like imgui-rs has them.
21 lines
831 B
TOML
21 lines
831 B
TOML
[package]
|
|
name = "imgui-examples"
|
|
version = "0.0.0"
|
|
edition = "2018"
|
|
authors = ["Joonas Javanainen <joonas.javanainen@gmail.com>", "imgui-rs contributors"]
|
|
description = "imgui crate examples using Glium backend"
|
|
homepage = "https://github.com/Gekkio/imgui-rs"
|
|
repository = "https://github.com/Gekkio/imgui-rs"
|
|
license = "MIT/Apache-2.0"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
clipboard = "0.5"
|
|
glium = { version = "0.27", default-features = true }
|
|
image = "0.23"
|
|
imgui-sys = { git = "https://github.com/Gekkio/imgui-rs/", branch = "master" }
|
|
imgui = { git = "https://github.com/Gekkio/imgui-rs/", branch = "master" }
|
|
imgui-glium-renderer = { git = "https://github.com/Gekkio/imgui-rs/", branch = "master" }
|
|
imgui-winit-support = { git = "https://github.com/Gekkio/imgui-rs/", branch = "master" }
|
|
|
|
implot-sys = { path = "../implot-sys" }
|