Skip to content

Commit

Permalink
book: Include ashpd only on linux so that listings run on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
daxhuiberts committed Oct 17, 2024
1 parent 4fe608d commit 5a28147
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion book/listings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ edition = "2021"
[dependencies]
adw = { version = "0.7", package = "libadwaita", features = ["v1_5"] }
anyhow = "1.0"
ashpd = { version = "0.9", features = ["gtk4"] }
async-channel = "2.0"
dirs = "5.0"
gtk = { version = "0.9", package = "gtk4", features = ["v4_12"] }
Expand All @@ -20,6 +19,9 @@ tokio = { version = "1.33.0", features = ["rt-multi-thread"] }
walkdir = "2.3"
xshell = "0.2"

[target.'cfg(target_os = "linux")'.dependencies]
ashpd = { version = "0.9", features = ["gtk4"] }

[build-dependencies]
glib-build-tools = "0.20"

Expand Down

0 comments on commit 5a28147

Please sign in to comment.