#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

#313 in #unix

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.3–11MB
~64K SLoC