Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Cldfire committed Oct 14, 2023
1 parent fbf91bd commit 4ffd107
Show file tree
Hide file tree
Showing 27 changed files with 166 additions and 77 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
branches:
- main
- main
pull_request:

name: CI
Expand All @@ -15,7 +15,7 @@ jobs:
os: [ubuntu-latest, windows-latest]
rust:
- stable
- 1.51.0
- 1.60.0
# Avoid trying to build on macos-latest with Rust 1.51
#
# Rust < 1.54 doesn't work with xcode 14
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This file describes the changes / additions / fixes between wrapper releases, tr

## [Unreleased]

Updates for NVML 12.2.

### Added

* `Device`
Expand All @@ -18,11 +20,21 @@ This file describes the changes / additions / fixes between wrapper releases, tr

### Internal

* Bumped MSRV to 1.60.0 for usage of namespaced features
* Removed `rust-hook` from development workflow
* Started building crate in CI on `macos-latest`
* Added a script to find unwrapped function names
* Vendored header files are now excluded from repo stats

### Rust Version Support

The MSRV of this release is 1.60.0. This is for usage of namespaced features.

### Dependencies

* `bitflags`: `1.3` -> `2.4.0`
* `libloading`: `0.7.0` -> `0.8.1`

## [0.9.0] (released 2023-01-20)

### Release Summary
Expand Down
141 changes: 111 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ functions.

## MSRV

The Minimum Supported Rust Version is currently 1.51.0. I will not go out of my
The Minimum Supported Rust Version is currently 1.60.0. I will not go out of my
way to avoid bumping this.

## Cargo Features
Expand Down
6 changes: 6 additions & 0 deletions nvml-wrapper-sys/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ This file describes the changes / additions / fixes between bindings releases.

## Unreleased

Bindings have been regenerated using the NVML 12.2 header and bindgen 0.68.1.

### Rust Version Support

The MSRV of this release is 1.60.0 (to match the wrapper crate).

## 0.7.0 (released 2023-01-20)

Bindings have been regenerated using the NVML 11.8 header and bindgen 0.63.0.
Expand Down
4 changes: 2 additions & 2 deletions nvml-wrapper-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ documentation = "https://docs.rs/nvml-wrapper-sys"
repository = "https://github.com/Cldfire/nvml-wrapper"
license = "MIT OR Apache-2.0"
edition = "2018"
rust-version = "1.51.0"
rust-version = "1.60.0"

keywords = ["nvidia", "gpu", "managment", "monitoring", "hardware"]
categories = ["external-ffi-bindings", "hardware-support"]

exclude = ["nvml.h"]

[dependencies]
libloading = "0.7.0"
libloading = "0.8.1"

[features]
default = []
Expand Down
10 changes: 6 additions & 4 deletions nvml-wrapper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,24 @@ documentation = "https://docs.rs/nvml-wrapper"
repository = "https://github.com/Cldfire/nvml-wrapper"
license = "MIT OR Apache-2.0"
edition = "2018"
rust-version = "1.51.0"
rust-version = "1.60.0"

keywords = ["nvidia", "gpu", "managment", "monitoring", "hardware"]
categories = ["api-bindings", "hardware-support"]

[features]
default = []
legacy-functions = ["nvml-wrapper-sys/legacy-functions"]
serde = ["dep:serde", "dep:serde_derive", "bitflags/serde"]

[dependencies]
thiserror = "1.0"
bitflags = "1.3"
serde = { version = "1.0", optional = true, features = ["derive"] }
bitflags = "2.4.0"
serde = { version = "1.0", optional = true }
serde_derive = { version = "1.0", optional = true }
nvml-wrapper-sys = { version = "0.7.0", path = "../nvml-wrapper-sys" }
wrapcenum-derive = "0.4.0"
libloading = "0.7.0"
libloading = "0.8.1"
static_assertions = "1.1"

[dev-dependencies]
Expand Down
Loading

0 comments on commit 4ffd107

Please sign in to comment.