Skip to content

Commit caf14d3

Browse files
authored
Update openvr v2.5.1 (#1)
* Update openvr dependency to v2.5.1. * Update dependencies and rebuild bindings - no longer get errors generating bindings or running tests (on Windows at least). * Run actions on every branch. * Remove the buildtime_bindgen feature, lets just always generate bindings since they need to be different on each platform. In the future if needed windows, mac, and linux bindings could be prebuilt and committed and used via a feature for quicker builds. * Fix missing import, add edition to Cargo.toml.
1 parent cf90648 commit caf14d3

File tree

6 files changed

+12
-13601
lines changed

6 files changed

+12
-13601
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Rust
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: [ "*" ]
66
pull_request:
7-
branches: [ "master" ]
7+
branches: [ "*" ]
88

99
env:
1010
CARGO_TERM_COLOR: always

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ Cargo.lock
77

88
/.idea/
99
/.vscode/
10+
11+
bindings.rs

Cargo.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
[package]
22
name = "openvr_sys"
33
version = "2.0.3"
4+
edition = "2021"
45
authors = [
56
"Colin Sherratt",
67
"Erick Tryzelaar",
78
"Rene Eichhorn",
8-
"Benjamin Saunders"
9+
"Benjamin Saunders",
10+
"Alexander Brook Perry",
11+
"Arthur Brainville"
912
]
1013
license = "MIT"
1114
description = "Raw unsafe system binding for openvr"
@@ -25,13 +28,12 @@ build = "build.rs"
2528
maintenance = { status = "passively-maintained" }
2629

2730
[build-dependencies]
28-
cmake = "0.1"
29-
bindgen = { version = "0.49", optional = true }
31+
cmake = "0.1.52"
32+
bindgen = "0.71.1"
3033

3134
[lib]
3235
name = "openvr_sys"
3336
path = "lib.rs"
3437

3538
[features]
36-
default = []
37-
buildtime_bindgen = ["bindgen"]
39+
default = []

0 commit comments

Comments
 (0)