Updated readme, renamed example
This commit is contained in:
parent
a747fa2d91
commit
70eff2e3bf
7 changed files with 18 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "implot"
|
name = "implot"
|
||||||
version = "0.1.0"
|
version = "0.0.1"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
authors = ["Sandro Merkli", "implot-rs contributors"]
|
authors = ["Sandro Merkli", "implot-rs contributors"]
|
||||||
description = "High-level Rust bindings to implot"
|
description = "High-level Rust bindings to implot"
|
||||||
|
@ -19,5 +19,5 @@ members = [
|
||||||
]
|
]
|
||||||
exclude = [
|
exclude = [
|
||||||
"implot-sys-bindgen",
|
"implot-sys-bindgen",
|
||||||
"testexample",
|
"implot-examples",
|
||||||
]
|
]
|
||||||
|
|
21
README.md
21
README.md
|
@ -1,10 +1,21 @@
|
||||||
# implot-rs
|
# implot-rs
|
||||||
|
|
||||||
🚧 **Work in progress, check back later (or open an issue if you'd like to collaborate)** 🚧
|
Rust bindings for [ImPlot](https://github.com/epezent/implot), built by running
|
||||||
|
[bindgen](https://github.com/rust-lang/rust-bindgen) on [cimplot](https://github.com/cimgui/cimplot).
|
||||||
|
|
||||||
|
![demo](demo.png)
|
||||||
|
|
||||||
Initial attempt at creating Rust bindings for https://github.com/epezent/implot.
|
## Requirements
|
||||||
|
imgui-rs requires minimum Rust version 1.40, so this project does as well by extension.
|
||||||
|
Currently the master branch of imgui-rs is used as a dependency until
|
||||||
|
https://github.com/Gekkio/imgui-rs/pull/339 makes it into a release.
|
||||||
|
|
||||||
At this point, raw bindings are working in implot-sys, and there is a test example
|
The sys crate compiles imgui, so a C++ compiler will also be required.
|
||||||
(just an adapted version of imgui-rs' example) that calls into them for trying things
|
|
||||||
out. More idiomatic bindings will be built next.
|
## Status
|
||||||
|
Currently a work in progress. The author is open to collaboration, if you'd like to
|
||||||
|
help, feel free to reach out via a Github issue.
|
||||||
|
|
||||||
|
At this point, raw bindings are working in implot-sys, and more idiomatic interfaces
|
||||||
|
for plot creation as well as adding lines to plots are implemented. Everything else
|
||||||
|
is still being built.
|
||||||
|
|
BIN
demo.png
Normal file
BIN
demo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Loading…
Reference in a new issue