Skip to content

Commit

Permalink
Release 0.0.0-alpha.1 (#12)
Browse files Browse the repository at this point in the history
* Regenerate with `bindgen 0.69.4` and lock version

* Release `0.0.0-alpha.1`

* 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.
  • Loading branch information
MarijnS95 authored May 1, 2024
1 parent bf2ecf8 commit 5514d33
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "adlx"
version = "0.0.0"
version = "0.0.0-alpha.1"
authors = ["Traverse Research <[email protected]>"]
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]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Add this to your Cargo.toml:

```toml
[dependencies]
adlx = "0.0.0"
adlx = "0.0.0-alpha.1"
```

## Code example
Expand Down
5 changes: 4 additions & 1 deletion api_gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ edition = "2021"
publish = false

[dependencies]
bindgen = "0.69.2"
# 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"
2 changes: 1 addition & 1 deletion release.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/ffi.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 5514d33

Please sign in to comment.