alexchandel / screenshot-rs

Get a bitmap image of a display in Rust.
The Unlicense
56 stars 25 forks source link

Moved windows binding to dependency, and moved from (uncompilable) nightly to stable #4

Open 8176135 opened 6 years ago

8176135 commented 6 years ago

Removed the need for core_intrinsic feature, and removed the convert feature that doesn't exist anymore and is causing a compiler error.

Also added windows dependency winapi and removed all the direct windows bindings.

Also bumped version to 0.0.8

yetone commented 1 year ago

Is there any progress on this PR? I encountered this error when compiling.

error[E0635]: unknown feature `convert`
  --> C:\Users\yetone\.cargo\registry\src\index.crates.io-6f17d22bba15001f\screenshot-0.0.7\src\lib.rs:15:29
   |
15 | #![feature(core_intrinsics, convert)]
   |                             ^^^^^^^
koutoftimer commented 1 year ago

@yetone I haven't used it since 2021, 2 years have been passed. I suppose you need to make your own PR with all problems fixed.