mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-13 22:48:34 +00:00
basic updating
This commit is contained in:
parent
4618936344
commit
00894927e4
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -4,13 +4,12 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
schedule:
|
||||
- cron: "0 0 * * 1"
|
||||
|
||||
jobs:
|
||||
rustfmt:
|
||||
name: Check rustfmt
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
@ -19,10 +18,11 @@ jobs:
|
||||
clippy:
|
||||
name: Run linter
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/main'
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
rust: ["1.64"]
|
||||
rust: ["1.70"]
|
||||
|
||||
env:
|
||||
RUSTFLAGS: -D warnings
|
||||
@ -81,7 +81,7 @@ jobs:
|
||||
matrix:
|
||||
rust:
|
||||
- stable
|
||||
- "1.64"
|
||||
- "1.70"
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macos-latest
|
||||
|
||||
@ -10,3 +10,6 @@ members = [
|
||||
"imgui-examples",
|
||||
"xtask",
|
||||
]
|
||||
|
||||
package.rust-version = "1.70"
|
||||
resolver = "2"
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "imgui-examples"
|
||||
version = "0.1.0"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
description = "imgui crate examples using Glium backend"
|
||||
homepage = "https://github.com/imgui-rs/imgui-rs"
|
||||
repository = "https://github.com/imgui-rs/imgui-rs"
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "imgui-glium-renderer"
|
||||
version = "0.11.0"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
description = "Glium renderer for the imgui crate"
|
||||
homepage = "https://github.com/imgui-rs/imgui-rs"
|
||||
repository = "https://github.com/imgui-rs/imgui-rs"
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "imgui-glow-renderer"
|
||||
version = "0.11.0"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
description = "glow renderer for the imgui crate"
|
||||
homepage = "https://github.com/imgui-rs/imgui-rs"
|
||||
repository = "https://github.com/imgui-rs/imgui-rs"
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "imgui-sdl2-support"
|
||||
version = "0.11.0"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
authors = ["The imgui-rs Developers"]
|
||||
description = "sdl2 support code for the imgui crate"
|
||||
homepage = "https://github.com/imgui-rs/imgui-rs"
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "imgui-sys"
|
||||
version = "0.11.0"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
description = "Raw FFI bindings to dear imgui"
|
||||
homepage = "https://github.com/imgui-rs/imgui-rs"
|
||||
repository = "https://github.com/imgui-rs/imgui-rs"
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "imgui-winit-support"
|
||||
version = "0.11.0"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
description = "winit support code for the imgui crate"
|
||||
homepage = "https://github.com/imgui-rs/imgui-rs"
|
||||
repository = "https://github.com/imgui-rs/imgui-rs"
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "imgui"
|
||||
version = "0.11.0"
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
description = "High-level Rust bindings to dear imgui"
|
||||
homepage = "https://github.com/imgui-rs/imgui-rs"
|
||||
repository = "https://github.com/imgui-rs/imgui-rs"
|
||||
|
||||
@ -52,7 +52,6 @@ impl DrawData {
|
||||
/// Returns the number of draw lists included in the draw data.
|
||||
#[inline]
|
||||
pub fn draw_lists_count(&self) -> usize {
|
||||
use std::convert::TryInto;
|
||||
self.cmd_lists_count.try_into().unwrap()
|
||||
}
|
||||
#[inline]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user