Skip to content

Commit

Permalink
bumped sdl2 version
Browse files Browse the repository at this point in the history
  • Loading branch information
sanbox-irl committed Sep 29, 2024
1 parent 04736ae commit 564aae1
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 4 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: ci
on:
pull_request:
push:
branches:
- main

jobs:
rustfmt:
name: Check rustfmt
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout
uses: actions/checkout@v4
- run: cargo fmt --all -- --check

test:
name: Lint and test
runs-on: ubuntu-latest
env:
RUSTFLAGS: -D warnings
RUSTDOCFLAGS: -D warnings
steps:
- name: Checkout
uses: actions/checkout@v4

- name: clippy
run: cargo clippy

- name: test
run: cargo test

- name: build examples
run: cargo build --examples
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ categories = ["gui"]

[dependencies]
imgui = "0.12.0"
sdl2 = "0.36"
sdl2 = "0.37"

[dev-dependencies]
glow = "0.13.1"
glow = "0.14"
imgui-glow-renderer = "0.12.0"
sdl2 = { version = "0.36", features = ["bundled", "static-link"] }
sdl2 = { version = "0.37", features = ["bundled", "static-link"] }
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# imgui-sdl2-support

This crate provides a SDL 2 based backend platform for imgui-rs.
This crate provides an SDL2 based backend platform for imgui-rs.

A backend platform handles window/input device events and manages their
state.
Expand Down

0 comments on commit 564aae1

Please sign in to comment.