From 3d6e1ee9388dd47512b1dab96ba4bea7dae92ba9 Mon Sep 17 00:00:00 2001 From: 4bb4 <67376761+4bb4@users.noreply.github.com> Date: Sun, 13 Sep 2020 13:57:01 +0200 Subject: [PATCH] Pinned imgui dependency to a fixed commit --- README.md | 4 ++-- implot-examples/Cargo.toml | 8 ++++---- implot-sys-bindgen/Cargo.toml | 4 ++-- implot-sys/Cargo.toml | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 1f84a94..b566d76 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ Rust bindings for [ImPlot](https://github.com/epezent/implot), built by running ## 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. +Currently a pinned version (66260c123b9a80275bd3a366ef403444db11a676) of imgui-rs is used +as a dependency until https://github.com/Gekkio/imgui-rs/pull/339 makes it into a release. The sys crate compiles implot, so a C++ compiler will also be required. diff --git a/implot-examples/Cargo.toml b/implot-examples/Cargo.toml index b6ae13d..7e12126 100644 --- a/implot-examples/Cargo.toml +++ b/implot-examples/Cargo.toml @@ -13,10 +13,10 @@ publish = false 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" } +imgui-sys = { git = "https://github.com/Gekkio/imgui-rs/", rev = "66260c123b9a80275bd3a366ef403444db11a676" } +imgui = { git = "https://github.com/Gekkio/imgui-rs/", rev = "66260c123b9a80275bd3a366ef403444db11a676" } +imgui-glium-renderer = { git = "https://github.com/Gekkio/imgui-rs/", rev = "66260c123b9a80275bd3a366ef403444db11a676" } +imgui-winit-support = { git = "https://github.com/Gekkio/imgui-rs/", rev = "66260c123b9a80275bd3a366ef403444db11a676" } implot-sys = { path = "../implot-sys" } implot = { path = "../" } diff --git a/implot-sys-bindgen/Cargo.toml b/implot-sys-bindgen/Cargo.toml index ca025dc..40989fb 100644 --- a/implot-sys-bindgen/Cargo.toml +++ b/implot-sys-bindgen/Cargo.toml @@ -8,5 +8,5 @@ edition = "2018" [dependencies] bindgen = "0.53.1" -imgui-sys = { git = "https://github.com/Gekkio/imgui-rs/", branch = "master" } -imgui = { git = "https://github.com/Gekkio/imgui-rs/", branch = "master" } +imgui-sys = { git = "https://github.com/Gekkio/imgui-rs/", rev = "66260c123b9a80275bd3a366ef403444db11a676" } +imgui = { git = "https://github.com/Gekkio/imgui-rs/", rev = "66260c123b9a80275bd3a366ef403444db11a676" } diff --git a/implot-sys/Cargo.toml b/implot-sys/Cargo.toml index fa6c98b..0f6379a 100644 --- a/implot-sys/Cargo.toml +++ b/implot-sys/Cargo.toml @@ -12,8 +12,8 @@ build = "build.rs" links = "implot" [dependencies] -imgui-sys = { git = "https://github.com/Gekkio/imgui-rs/", branch = "master" } -imgui = { git = "https://github.com/Gekkio/imgui-rs/", branch = "master" } +imgui-sys = { git = "https://github.com/Gekkio/imgui-rs/", rev = "66260c123b9a80275bd3a366ef403444db11a676" } +imgui = { git = "https://github.com/Gekkio/imgui-rs/", rev = "66260c123b9a80275bd3a366ef403444db11a676" } [build-dependencies] cc = "1.0"