From ce940d6059abfc2b04689598c1d8640373e2a120 Mon Sep 17 00:00:00 2001 From: Victor Brekenfeld Date: Fri, 22 Sep 2023 11:37:52 +0200 Subject: [PATCH 1/3] drm-sys: Update README --- drm-ffi/drm-sys/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drm-ffi/drm-sys/README.md b/drm-ffi/drm-sys/README.md index 44273210..01cb8e7c 100644 --- a/drm-ffi/drm-sys/README.md +++ b/drm-ffi/drm-sys/README.md @@ -9,7 +9,12 @@ drm-sys = "..." The following platforms have prebuilt bindings available: -* Linux +* Linux/Android + * x86_64 + * x86 + * arm + * aarch64 +* FreeBSD * x86_64 If bindings for your target platform are not available, you can attempt to From 2d7a58a30ab0fc1fb1f639fb359b66ac8220de58 Mon Sep 17 00:00:00 2001 From: Victor Brekenfeld Date: Fri, 22 Sep 2023 11:38:04 +0200 Subject: [PATCH 2/3] README: Fix reference to old trait --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ccefc60b..b2f46ec8 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ found in `/dev/dri`, but can also be opened in other ways (ex. udev). This crate does not provide a method of opening these files. Instead, the user program must provide a way to access the file descriptor representing the -device through the [AsRawFd](https://doc.rust-lang.org/std/os/unix/io/trait.AsRawFd.html) +device through the [AsFd](https://doc.rust-lang.org/std/os/fd/trait.AsFd.html) trait. Here is a basic example using `File` as a backend: ```rust From ed83f127bd093b307cd49af59661e97c9ec4df25 Mon Sep 17 00:00:00 2001 From: Victor Brekenfeld Date: Fri, 22 Sep 2023 11:38:52 +0200 Subject: [PATCH 3/3] v0.10.0 --- Cargo.toml | 4 ++-- drm-ffi/Cargo.toml | 4 ++-- drm-ffi/drm-sys/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c3257404..c731498b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "drm" description = "Safe, low-level bindings to the Direct Rendering Manager API" repository = "https://github.com/Smithay/drm-rs" -version = "0.9.0" +version = "0.10.0" license = "MIT" authors = ["Tyler Slabinski ", "Victoria Brekenfeld "] exclude = [".gitignore", ".github"] @@ -12,7 +12,7 @@ resolver = "2" # Required to separate dev-dependencies.nix features [dependencies] bitflags = "2" bytemuck = { version = "1.12", features = ["extern_crate_alloc", "derive"] } -drm-ffi = { path = "drm-ffi", version = "0.5.0" } +drm-ffi = { path = "drm-ffi", version = "0.6.0" } drm-fourcc = "^2.2.0" [dependencies.nix] diff --git a/drm-ffi/Cargo.toml b/drm-ffi/Cargo.toml index 2b7c7380..09721c94 100644 --- a/drm-ffi/Cargo.toml +++ b/drm-ffi/Cargo.toml @@ -2,13 +2,13 @@ name = "drm-ffi" description = "Safe, low-level bindings to the Direct Rendering Manager API" repository = "https://github.com/Smithay/drm-rs" -version = "0.5.0" +version = "0.6.0" license = "MIT" authors = ["Tyler Slabinski "] rust-version = "1.65" [dependencies] -drm-sys = { path = "drm-sys", version = "0.4.0" } +drm-sys = { path = "drm-sys", version = "0.5.0" } [dependencies.nix] version = "0.27" diff --git a/drm-ffi/drm-sys/Cargo.toml b/drm-ffi/drm-sys/Cargo.toml index f41ca47c..8db79a7a 100644 --- a/drm-ffi/drm-sys/Cargo.toml +++ b/drm-ffi/drm-sys/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "drm-sys" description = "Bindings to the Direct Rendering Manager API" -version = "0.4.0" +version = "0.5.0" authors = ["Tyler Slabinski "] license = "MIT" build = "build.rs"