Skip to content

Commit

Permalink
feat: 添加image默认依赖为可选features (#170)
Browse files Browse the repository at this point in the history
* 添加image默认依赖为可选features

* 默认开启default-image
  • Loading branch information
cn-kali-team authored Dec 14, 2024
1 parent 5ab3195 commit 574f9f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ keywords = ["screen", "monitor", "window", "capture", "image"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
default = ["default-image"]
vendored = ["dbus/vendored"]

default-image = ["image/default"]
[dependencies]
image = "0.25"
image = { version = "0.25", default-features = false, features = ["png"] }
log = "0.4"
thiserror = "2.0"

Expand Down

0 comments on commit 574f9f8

Please sign in to comment.