Docs.rs
hostfile-1.1.0
hostfile 1.1.0
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
aneeshdurg
Dependencies
mktemp ^0.4.0
dev
test-with ^0.14.4
dev
windows-sys ^0.59
normal
Versions
57.14%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
hostfile
1.1.0
All Items
Crate Items
Structs
Functions
Crate
hostfile
Copy item path
Source
Structs
§
Host
Entry
A struct representing a line from /etc/hosts that has a host on it
Functions
§
get_
hostfile_
path
Get path to the system hostfile.
parse_
file
Parse a file using the format described in
man hosts(7)
parse_
hostfile
Parse system hostfile.