#unix #gethostid #hostid #rust

gethostid-rs

Pure rust implementation of gethostid() from libc (used in hostid)

2 releases

0.1.1 Dec 7, 2022
0.1.0 Dec 7, 2022

#634 in Operating systems

25 downloads per month

MIT/Apache

6KB
74 lines

gethostid

Crates.io Docs

Implementation of gethostid (glibc) in pure rust.

Use

cargo add gethostid-rs

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.4–12MB
~80K SLoC