12 releases

0.2.2 Apr 21, 2021
0.2.1 Apr 13, 2021
0.2.0 Mar 1, 2021
0.1.8 Jan 25, 2021
0.1.6 Nov 30, 2020

#92 in Network programming

Download history 11508/week @ 2021-08-14 14793/week @ 2021-08-21 14995/week @ 2021-08-28 15442/week @ 2021-09-04 18171/week @ 2021-09-11 15929/week @ 2021-09-18 17215/week @ 2021-09-25 16140/week @ 2021-10-02 18620/week @ 2021-10-09 16818/week @ 2021-10-16 13279/week @ 2021-10-23 16383/week @ 2021-10-30 17223/week @ 2021-11-06 15088/week @ 2021-11-13 17403/week @ 2021-11-20 16020/week @ 2021-11-27

68,713 downloads per month
Used in 104 crates (11 directly)

MIT/Apache

30KB
766 lines

Cross platform asynchronous network watcher

cargo run --example if_watch
Got event Ok(Up(127.0.0.1/8))
Got event Ok(Up(192.168.6.65/24))
Got event Ok(Up(::1/128))
Got event Ok(Up(2a01:8b81:7000:9700:cef9:e4ff:fe9e:b23b/64))
Got event Ok(Up(fe80::cef9:e4ff:fe9e:b23b/64))

Supported platforms at the moment are: Linux, Windows and Android with a fallback for Macos and ios that polls for changes every 10s.

License

MIT OR Apache-2.0


lib.rs:

IP address watching.

Dependencies

~390–730KB
~14K SLoC

UK€`