crates.io · crates:hostname
hostname active
Cross-platform system's host name functions
| Latest stable version | 0.4.2 |
|---|---|
| Published | 2025-11-28 19:32:27 UTC |
| Install | cargo add hostname |
| Minimum Rust version (rust-version) | Rust ≥ 1.74 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-10-09 02:58:23 UTC |
| Sources | api.osv.dev, crates.io |
Maintenance
| Activity | slowing down |
|---|---|
| Last stable release | 2025-11-28 19:32:27 UTC · 314 days ago |
| Stable releases in the last 12 months | 1 |
| Published versions | 12 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
0.4.2 | 2025-11-28 19:32:27 UTC |
0.4.1 | 2025-04-08 08:10:29 UTC |
0.4.0 | 2024-04-01 09:45:59 UTC |
0.3.1 | 2020-02-28 16:58:03 UTC |
0.3.0 | 2019-12-19 08:42:56 UTC |
0.2.0 | 2019-11-09 07:44:41 UTC |
0.1.5 | 2018-05-25 08:11:07 UTC |
0.1.4 | 2017-12-19 14:53:09 UTC |
0.1.3 | 2017-02-09 01:22:44 UTC |
0.1.2 | 2016-12-13 13:14:55 UTC |
0.1.1 | 2016-12-13 12:52:38 UTC |
0.1.0 | 2016-12-13 12:47:54 UTC |
Showing the 12 most recent of 12 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
rust 1.63 | 0.3.1 |
rust 1.70 | 0.4.0 |
rust 1.75 | 0.4.2 |
rust 1.80 | 0.4.2 |
rust 1.85 | 0.4.2 |
rust 1.90 | 0.4.2 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of hostname?
The latest stable version of hostname is 0.4.2, published on 2025-11-28. Verified by Vigia on 2026-10-09.
How do I install the latest version of hostname?
Run cargo add hostname. The latest stable version is 0.4.2 (verified 2026-10-09).
Is hostname deprecated?
No. hostname is not marked as deprecated in the registry.
Which Rust version does hostname require?
hostname 0.4.2 declares this requirement: Rust ≥ 1.74.
Does hostname 0.4.2 have known vulnerabilities?
No known advisories affect hostname 0.4.2 according to the data Vigia checks.
Is hostname still maintained?
hostname published 1 stable releases in the last 12 months; the most recent was 314 days ago. Activity: slowing down.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- once_cell_polyfill
- libredox
- toml_writer
- futures-timer
- universal-hash
- tracing-opentelemetry
- ctr
- pretty_assertions
- terminal_size
- ureq
- option-ext
- sysinfo
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/crates/hostname) [](https://vigia.coredls.cloud/crates/hostname) [](https://vigia.coredls.cloud/crates/hostname)
For agents
GET https://vigia.coredls.cloud/v1/packages/crates/hostname
GET https://vigia.coredls.cloud/v1/packages/crates/hostname/versions/{version}