Skip to content

Commit

Permalink
snapbox: cfg out platform dependent deps
Browse files Browse the repository at this point in the history
  • Loading branch information
klensy committed Feb 19, 2023
1 parent 6df4fff commit b6e69cb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions crates/snapbox/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ filetime = { version = "0.2", optional = true }
os_pipe = { version = "1.0", optional = true }
wait-timeout = { version = "0.2.0", optional = true }
escargot = { version = "0.5.7", optional = true }
libc = { version = "0.2.137", optional = true }
windows-sys = { version = "0.45.0", features = ["Win32_Foundation"], optional = true }

backtrace = { version = "0.3", optional = true }

Expand All @@ -101,3 +99,9 @@ concolor = { version = "0.0.11", features = ["std"], optional = true }
document-features = { version = "0.2.6", optional = true }

serde_json = { version = "1.0.85", optional = true}

[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.45.0", features = ["Win32_Foundation"], optional = true }

[target.'cfg(unix)'.dependencies]
libc = { version = "0.2.137", optional = true }

0 comments on commit b6e69cb

Please sign in to comment.