Skip to content

Commit

Permalink
Make it work on mobile as well
Browse files Browse the repository at this point in the history
  • Loading branch information
bltavares committed Jun 30, 2020
1 parent 0232abd commit be02374
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@ get_if_addrs = '0.5.3'
version = '0.3.12'
features = ['reuseport']

[target."cfg(windows)".dependencies.winapi]
[target.'cfg(windows)'.dependencies.winapi]
version = '0.3.9'
features = ['mswsock']

[target."cfg(not(windows))".dependencies.nix]
# Needs https://github.com/nix-rust/nix/pull/1222 which is unreleased as of today
[target.'cfg(not(windows))'.dependencies.nix]
# Needs https://github.com/nix-rust/nix/pull/1265 which is unreleased as of today
# version = '0.18.0'
git = "https://github.com/nix-rust/nix"
git = 'https://github.com/bltavares/nix'
branch = 'sendmsg-pktinfo-android'

[target."cfg(not(windows))".dependencies.libc]
[target.'cfg(not(windows))'.dependencies.libc]
# Needs to be the same as the version used by nix
git = "https://github.com/rust-lang/libc"
git = 'https://github.com/rust-lang/libc'

0 comments on commit be02374

Please # to comment.