4 releases
Uses old Rust 2015
0.2.1 | Jul 6, 2017 |
---|---|
0.2.0 | Dec 29, 2016 |
0.1.1 | Dec 19, 2016 |
0.1.0 | Dec 19, 2016 |
#6 in #someone
6KB
102 lines
Updating /etc/hosts
from Someone Who Cares
Someone Who Cares offers very nice rules for /etc/hosts
, but sends data over
HTTP and doesn't provide checksums or signatures. This program parses through
the hosts file to ensure that the rules are safe. You may freely use and modify
this code under the CC0 1.0 Universal License.
Usage
To grab the hosts file, just run:
swc-hosts [TYPE]
Where TYPE
is either ipv4
or ipv6
.
For somehow less exciting documentation, you can find the rustdoc here.
Dependencies
~6–14MB
~193K SLoC