From 69ecc05ee144e8feb2e7ad07351fc9df130b4aaa Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Tue, 30 Apr 2024 14:57:07 +0200 Subject: [PATCH 1/3] Regenerate with `bindgen 0.69.4` and lock version --- api_gen/Cargo.toml | 3 ++- src/ffi.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/api_gen/Cargo.toml b/api_gen/Cargo.toml index 67d893c..ca40959 100644 --- a/api_gen/Cargo.toml +++ b/api_gen/Cargo.toml @@ -5,4 +5,5 @@ edition = "2021" publish = false [dependencies] -bindgen = "0.69.2" +# Version-locked to not make the CI go out of date +bindgen = "=0.69.4" diff --git a/src/ffi.rs b/src/ffi.rs index 4c3a58b..e9dc2fe 100644 --- a/src/ffi.rs +++ b/src/ffi.rs @@ -1,4 +1,4 @@ -/* automatically generated by rust-bindgen 0.69.2 */ +/* automatically generated by rust-bindgen 0.69.4 */ pub const ADLX_VER_MAJOR: u32 = 1; pub const ADLX_VER_MINOR: u32 = 2; From 5f914f5f1a51fb522d0831009d19b705b415797e Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Tue, 30 Apr 2024 14:13:53 +0200 Subject: [PATCH 2/3] Release `0.0.0-alpha.1` --- Cargo.toml | 6 +++--- README.md | 2 +- release.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 09be657..094f7a7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,14 +1,14 @@ [package] name = "adlx" -version = "0.0.0" +version = "0.0.0-alpha.1" authors = ["Traverse Research "] edition = "2021" license = "MIT" homepage = "https://traverseresearch.nl" repository = "https://github.com/Traverse-Research/adlx-rs" -description = "Bindings for AMd's Device Library eXtra" +description = "Bindings for AMD's Device Library eXtra" include = ["src", "LICENSE"] -categories = ["api-bindings"] #, "external-ffi-bindings", "rendering::graphics-api"] # https://crates.io/category_slugs +categories = ["api-bindings", "external-ffi-bindings", "graphics"] # https://crates.io/category_slugs keywords = ["amd", "adlx", "gpu"] [dependencies] diff --git a/README.md b/README.md index 8cfe369..99dc0e5 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Add this to your Cargo.toml: ```toml [dependencies] -adlx = "0.0.0" +adlx = "0.0.0-alpha.1" ``` ## Code example diff --git a/release.toml b/release.toml index 102f4c9..a138287 100644 --- a/release.toml +++ b/release.toml @@ -6,7 +6,7 @@ sign-tag = true publish = false pre-release-replacements = [ - { file = "README.md", search = "adlx-rs = .*", replace = "{{crate_name}} = \"{{version}}\"" }, + { file = "README.md", search = "adlx = .*", replace = "{{crate_name}} = \"{{version}}\"" }, ] # cargo-release only allows using {{version}} in the commit title when creating one From 9b4a0ba074e011f90d0e3fafad7e2d61cdaa7540 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Wed, 1 May 2024 10:30:17 +0200 Subject: [PATCH 3/3] api_gen: Fix MSRV check by forcing a higher `regex-syntax` This crate should probably be exempt from MSRV checks though, as it is not published. --- api_gen/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api_gen/Cargo.toml b/api_gen/Cargo.toml index ca40959..0b330ec 100644 --- a/api_gen/Cargo.toml +++ b/api_gen/Cargo.toml @@ -7,3 +7,5 @@ publish = false [dependencies] # Version-locked to not make the CI go out of date bindgen = "=0.69.4" +# Force a higher version to fix https://github.com/rust-lang/regex/issues/770 in MSRV +regex-syntax = "0.6.26"