Skip to content

Commit

Permalink
fix: let dependency specification in Cargo.toml match cfg directives …
Browse files Browse the repository at this point in the history
…in code (#40)

This fixes [issue 40](#40).
  • Loading branch information
Byron committed Dec 23, 2021
1 parent b94fce2 commit cb5b617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ windows = "0.9.0"
[target.'cfg(target_os = "macos")'.dependencies]
objc = "0.2.7"

[target.'cfg(target_os = "linux")'.dependencies]
[target.'cfg(all(unix, not(target_os = "macos"), not(target_os = "ios"), not(target_os = "android")))'.dependencies]
chrono = "0.4.9"
libc = "0.2.65"
scopeguard = "1.0.0"
Expand Down

0 comments on commit cb5b617

Please sign in to comment.