hostname

crates.io v0.4.2

1,871,275 weekly downloads · 3 Dependencies

Source data as of:

Summary

Cross-platform system's host name functions

Install cargo add hostname

Registry values

Reproduced verbatim from the official registry, with the source named on each value.

Weekly downloads 1,871,275 Source: crates.io (Rust)
Releases 12 Last release: 2025-11-28 Source: crates.io (Rust)
Dependencies 3 Source: crates.io (Rust)

Description

Cross-platform system's host name functions

Registry-supplied description, cleaned to plain text. Source: crates.io (Rust).

Package details

Package
hostname
Registry
crates.io
Version
0.4.2
Weekly downloads
1,871,275 (weekly)
Dependencies
3: cfg-if, libc, windows-link
Releases
12
Last release
2025-11-28
First published
2016-12-13
Keywords
hostname, gethostname, sethostname
Repository
https://github.com/djc/hostname

Why a field shows "—": A dash means the value is not published by the source registry for that package. Quanteta never fills in a guessed value — a missing field stays blank.

Derived indices (computation method published)

Quanteta-computed from the registry values below. This is a derived index, not a measured registry metric. See the formula on the Data & Sources page.

Q-Vitality Quanteta 23.9 / 100 Maintenance activity index (release cadence + download level).
Q-Trust Quanteta 19.9 / 100 Adoption / stability index (community size + download stability + age).
Q-Risk Quanteta 46.7 / 100 Dependency-surface index. Higher = more risk factors detected.

Data & Sources