Skip to content

Commit

Permalink
basic updating
Browse files Browse the repository at this point in the history
  • Loading branch information
sanbox-irl committed Sep 18, 2023
1 parent 4618936 commit 0089492
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
matrix:
rust:
- stable
- "1.64"
- "1.70"
os:
- ubuntu-latest
- macos-latest
Expand Down
3 changes: 3 additions & 0 deletions Cargo.toml
Expand Up @@ -10,3 +10,6 @@ members = [
"imgui-examples",
"xtask",
]

package.rust-version = "1.70"
resolver = "2"
2 changes: 1 addition & 1 deletion imgui-examples/Cargo.toml
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion imgui-glium-renderer/Cargo.toml
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion imgui-glow-renderer/Cargo.toml
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion imgui-sdl2-support/Cargo.toml
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion imgui-sys/Cargo.toml
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion imgui-winit-support/Cargo.toml
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion imgui/Cargo.toml
@@ -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"
Expand Down
1 change: 0 additions & 1 deletion imgui/src/render/draw_data.rs
Expand Up @@ -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]
Expand Down

0 comments on commit 0089492

Please sign in to comment.