swc-hosts

Crates.ioswc-hosts
lib.rsswc-hosts
version0.2.1
sourcesrc
created_at2016-12-19 18:25:52.433472
updated_at2017-07-06 18:38:31.352839
descriptionSafely parse /etc/hosts from Someone Who Cares.
homepage
repositoryhttps://github.com/clarcharr/swc-hosts
max_upload_size
id7682
size12,550
Clar Fon (clarfonthey)

documentation

https://clarcharr.github.io/swc-hosts/swc_hosts

README

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.

Commit count: 0

cargo fmt