Skip to content

Commit

Permalink
chore: 更新版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
nashaofu committed Aug 25, 2024
1 parent 878b7ce commit 3a0bbc5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "xcap"
version = "0.0.12"
version = "0.0.13"
edition = "2021"
description = "XCap is a cross-platform screen capture library written in Rust. It supports Linux (X11, Wayland), MacOS, and Windows. XCap supports screenshot and video recording (to be implemented)."
license = "Apache-2.0"
Expand All @@ -14,15 +14,15 @@ keywords = ["screen", "monitor", "window", "capture", "image"]
[dependencies]
image = "0.25"
log = "0.4"
sysinfo = "0.30.5"
sysinfo = "0.31"
thiserror = "1.0"

[target.'cfg(target_os = "macos")'.dependencies]
core-foundation = "0.9"
core-graphics = "0.23"
core-foundation = "0.10"
core-graphics = "0.24"

[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.54", features = [
windows = { version = "0.58", features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_Graphics_Dwm",
Expand All @@ -35,8 +35,8 @@ windows = { version = "0.54", features = [

[target.'cfg(target_os="linux")'.dependencies]
percent-encoding = "2.3"
xcb = { version = "1.3", features = ["randr"] }
xcb = { version = "1.4", features = ["randr"] }
dbus = { version = "0.9", features = ["vendored"] }

[dev-dependencies]
fs_extra = "1.3.0"
fs_extra = "1.3"
2 changes: 1 addition & 1 deletion examples/window_record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fn main() {
continue;
}

if window.title().contains("起始页") {
if window.title().contains("Chrome") {
break;
}

Expand Down

0 comments on commit 3a0bbc5

Please sign in to comment.