Skip to content

Commit

Permalink
Switch from ioctl_sys to nix's ioctl
Browse files Browse the repository at this point in the history
Allows to be built on other platforms like FreeBSD.
  • Loading branch information
alvinpeters committed Jun 11, 2024
1 parent a1d6064 commit afa29f7
Show file tree
Hide file tree
Showing 4 changed files with 152 additions and 97 deletions.
201 changes: 130 additions & 71 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ travis-ci = { repository = "mullvad/pfctl-rs" }

[dependencies]
error-chain = "0.12.4"
ioctl-sys = "0.8.0"
nix = { version = "0.29.0", features = ["ioctl"], default-features = false }
libc = "0.2.29"
derive_builder = "0.9"
ipnetwork = "0.20.0"
Expand Down
Loading

0 comments on commit afa29f7

Please sign in to comment.