We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c57ba3 commit f81d6f0Copy full SHA for f81d6f0
2 files changed
.github/workflows/build.yml
@@ -41,7 +41,7 @@ jobs:
41
- uses: actions-rust-lang/setup-rust-toolchain@v1
42
name: Setup Rust
43
with:
44
- targets: ${{ contains(matrix.os, 'macos') && 'x86_64-apple-darwin' || '' }}
+ target: ${{ contains(matrix.os, 'macos') && 'x86_64-apple-darwin' || '' }}
45
toolchain: 1.88
46
- name: Cargo build
47
run: cargo build --release
src/lib.rs
@@ -5,13 +5,7 @@ use xcap::{
5
Monitor, Window,
6
};
7
8
-fn normalized(filename: &str) -> String {
9
- filename
10
- .replace("|", "")
11
- .replace("\\", "")
12
- .replace(":", "")
13
- .replace("/", "")
14
-}
+
15
pub struct ImageData {
16
image: Vec<u8>,
17
width: u32,
0 commit comments