Skip to content

Commit

Permalink
Only depend on libloading on non-Windows systems (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
filmor authored Jan 13, 2025
1 parent c14befb commit a6e2a15
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rustler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ nif_version_2_17 = ["nif_version_2_16"]
serde = ["dep:serde"]

[dependencies]
libloading = "0.8"
inventory = "0.3"
rustler_codegen = { path = "../rustler_codegen", version = "0.36.0"}
num-bigint = { version = "0.4", optional = true }
serde = { version = "1", optional = true }

[target.'cfg(not(windows))'.dependencies]
libloading = "0.8"

[build-dependencies]
regex-lite = "0.1"

Expand Down

0 comments on commit a6e2a15

Please sign in to comment.