{"crate":{"id":"hostname","name":"hostname","updated_at":"2025-11-28T19:32:27.326347Z","versions":[1848739,1515495,1099972,216593,197447,188492,94097,74895,45052,39526,39525,39524],"keywords":["gethostname","hostname","sethostname"],"categories":["api-bindings","os"],"badges":[],"created_at":"2016-12-13T12:47:54.090323Z","downloads":220423873,"recent_downloads":43908727,"default_version":"0.4.2","num_versions":12,"yanked":false,"max_version":"0.4.2","newest_version":"0.4.2","max_stable_version":"0.4.2","description":"Cross-platform system's host name functions","homepage":null,"documentation":null,"repository":"https://github.com/djc/hostname","links":{"version_downloads":"/api/v1/crates/hostname/downloads","versions":null,"owners":"/api/v1/crates/hostname/owners","owner_team":"/api/v1/crates/hostname/owner_team","owner_user":"/api/v1/crates/hostname/owner_user","reverse_dependencies":"/api/v1/crates/hostname/reverse_dependencies"},"exact_match":false,"trustpub_only":false},"versions":[{"id":1848739,"crate":"hostname","num":"0.4.2","dl_path":"/api/v1/crates/hostname/0.4.2/download","readme_path":"/api/v1/crates/hostname/0.4.2/readme","updated_at":"2025-11-28T19:32:27.326347Z","created_at":"2025-11-28T19:32:27.326347Z","downloads":62975961,"features":{"default":[],"set":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT","links":{"dependencies":"/api/v1/crates/hostname/0.4.2/dependencies","version_downloads":"/api/v1/crates/hostname/0.4.2/downloads","authors":"/api/v1/crates/hostname/0.4.2/authors"},"crate_size":12983,"published_by":{"id":4556,"login":"djc","name":"Dirkjan Ochtman","avatar":"https://avatars.githubusercontent.com/u/158471?v=4","url":"https://github.com/djc","github_username_matches":true,"created_at":"2009-11-26T12:00:10Z"},"audit_actions":[{"action":"publish","user":{"id":4556,"login":"djc","name":"Dirkjan Ochtman","avatar":"https://avatars.githubusercontent.com/u/158471?v=4","url":"https://github.com/djc","github_username_matches":true,"created_at":"2009-11-26T12:00:10Z"},"time":"2025-11-28T19:32:27.326347Z"}],"checksum":"617aaa3557aef3810a6369d0a99fac8a080891b68bd9f9812a1eeda0c0730cbd","rust_version":"1.74","has_lib":true,"bin_names":[],"edition":"2021","description":"Cross-platform system's host name functions","homepage":null,"documentation":null,"repository":"https://github.com/djc/hostname","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":241,"comment_lines":18,"files":4}},"total_code_lines":241,"total_comment_lines":18}},{"id":1515495,"crate":"hostname","num":"0.4.1","dl_path":"/api/v1/crates/hostname/0.4.1/download","readme_path":"/api/v1/crates/hostname/0.4.1/readme","updated_at":"2025-04-08T08:10:29.607795Z","created_at":"2025-04-08T08:10:29.607795Z","downloads":29117333,"features":{"default":[],"set":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT","links":{"dependencies":"/api/v1/crates/hostname/0.4.1/dependencies","version_downloads":"/api/v1/crates/hostname/0.4.1/downloads","authors":"/api/v1/crates/hostname/0.4.1/authors"},"crate_size":13819,"published_by":{"id":4556,"login":"djc","name":"Dirkjan Ochtman","avatar":"https://avatars.githubusercontent.com/u/158471?v=4","url":"https://github.com/djc","github_username_matches":true,"created_at":"2009-11-26T12:00:10Z"},"audit_actions":[{"action":"publish","user":{"id":4556,"login":"djc","name":"Dirkjan Ochtman","avatar":"https://avatars.githubusercontent.com/u/158471?v=4","url":"https://github.com/djc","github_username_matches":true,"created_at":"2009-11-26T12:00:10Z"},"time":"2025-04-08T08:10:29.607795Z"}],"checksum":"a56f203cd1c76362b69e3863fd987520ac36cf70a8c92627449b2f64a8cf7d65","rust_version":"1.74","has_lib":true,"bin_names":[],"edition":"2021","description":"Cross-platform system's host name functions","homepage":null,"documentation":null,"repository":"https://github.com/svartalf/hostname","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":242,"comment_lines":18,"files":4}},"total_code_lines":242,"total_comment_lines":18}},{"id":1099972,"crate":"hostname","num":"0.4.0","dl_path":"/api/v1/crates/hostname/0.4.0/download","readme_path":"/api/v1/crates/hostname/0.4.0/readme","updated_at":"2024-04-01T09:45:59.615561Z","created_at":"2024-04-01T09:45:59.615561Z","downloads":18858794,"features":{"default":[],"set":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT","links":{"dependencies":"/api/v1/crates/hostname/0.4.0/dependencies","version_downloads":"/api/v1/crates/hostname/0.4.0/downloads","authors":"/api/v1/crates/hostname/0.4.0/authors"},"crate_size":10632,"published_by":{"id":4153,"login":"svartalf","name":"svartalf","avatar":"https://avatars.githubusercontent.com/u/1279564?v=4","url":"https://github.com/svartalf","github_username_matches":true,"created_at":"2011-12-22T09:34:32Z"},"audit_actions":[{"action":"publish","user":{"id":4153,"login":"svartalf","name":"svartalf","avatar":"https://avatars.githubusercontent.com/u/1279564?v=4","url":"https://github.com/svartalf","github_username_matches":true,"created_at":"2011-12-22T09:34:32Z"},"time":"2024-04-01T09:45:59.615561Z"}],"checksum":"f9c7c7c8ac16c798734b8a24560c1362120597c40d5e1459f09498f8f6c8f2ba","rust_version":"1.67","has_lib":true,"bin_names":[],"edition":"2021","description":"Cross-platform system's host name functions","homepage":null,"documentation":null,"repository":"https://github.com/svartalf/hostname","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":226,"comment_lines":18,"files":3}},"total_code_lines":226,"total_comment_lines":18}},{"id":216593,"crate":"hostname","num":"0.3.1","dl_path":"/api/v1/crates/hostname/0.3.1/download","readme_path":"/api/v1/crates/hostname/0.3.1/readme","updated_at":"2020-02-28T16:58:03.759686Z","created_at":"2020-02-28T16:58:03.759686Z","downloads":102904496,"features":{"default":[],"set":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT","links":{"dependencies":"/api/v1/crates/hostname/0.3.1/dependencies","version_downloads":"/api/v1/crates/hostname/0.3.1/downloads","authors":"/api/v1/crates/hostname/0.3.1/authors"},"crate_size":9272,"published_by":{"id":4153,"login":"svartalf","name":"svartalf","avatar":"https://avatars.githubusercontent.com/u/1279564?v=4","url":"https://github.com/svartalf","github_username_matches":true,"created_at":"2011-12-22T09:34:32Z"},"audit_actions":[{"action":"publish","user":{"id":4153,"login":"svartalf","name":"svartalf","avatar":"https://avatars.githubusercontent.com/u/1279564?v=4","url":"https://github.com/svartalf","github_username_matches":true,"created_at":"2011-12-22T09:34:32Z"},"time":"2020-02-28T16:58:03.759686Z"}],"checksum":"3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Cross-platform system's host name functions","homepage":null,"documentation":null,"repository":"https://github.com/svartalf/hostname","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":234,"comment_lines":16,"files":3}},"total_code_lines":234,"total_comment_lines":16}},{"id":197447,"crate":"hostname","num":"0.3.0","dl_path":"/api/v1/crates/hostname/0.3.0/download","readme_path":"/api/v1/crates/hostname/0.3.0/readme","updated_at":"2019-12-19T08:42:56.715351Z","created_at":"2019-12-19T08:42:56.715351Z","downloads":71970,"features":{"default":[],"set":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT","links":{"dependencies":"/api/v1/crates/hostname/0.3.0/dependencies","version_downloads":"/api/v1/crates/hostname/0.3.0/downloads","authors":"/api/v1/crates/hostname/0.3.0/authors"},"crate_size":9130,"published_by":{"id":4153,"login":"svartalf","name":"svartalf","avatar":"https://avatars.githubusercontent.com/u/1279564?v=4","url":"https://github.com/svartalf","github_username_matches":true,"created_at":"2011-12-22T09:34:32Z"},"audit_actions":[{"action":"publish","user":{"id":4153,"login":"svartalf","name":"svartalf","avatar":"https://avatars.githubusercontent.com/u/1279564?v=4","url":"https://github.com/svartalf","github_username_matches":true,"created_at":"2011-12-22T09:34:32Z"},"time":"2019-12-19T08:42:56.715351Z"}],"checksum":"01b1af8d6d068ba9de1c39c6ff0d879aed20f74873d4d3929a4535000bb07886","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Cross-platform system's host name functions","homepage":null,"documentation":null,"repository":"https://github.com/svartalf/hostname","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":179,"comment_lines":16,"files":3}},"total_code_lines":179,"total_comment_lines":16}},{"id":188492,"crate":"hostname","num":"0.2.0","dl_path":"/api/v1/crates/hostname/0.2.0/download","readme_path":"/api/v1/crates/hostname/0.2.0/readme","updated_at":"2019-11-09T07:44:41.339406Z","created_at":"2019-11-09T07:44:41.339406Z","downloads":107811,"features":{},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT","links":{"dependencies":"/api/v1/crates/hostname/0.2.0/dependencies","version_downloads":"/api/v1/crates/hostname/0.2.0/downloads","authors":"/api/v1/crates/hostname/0.2.0/authors"},"crate_size":8811,"published_by":{"id":4153,"login":"svartalf","name":"svartalf","avatar":"https://avatars.githubusercontent.com/u/1279564?v=4","url":"https://github.com/svartalf","github_username_matches":true,"created_at":"2011-12-22T09:34:32Z"},"audit_actions":[],"checksum":"dc5260e6c63877196b6fca5a7fb4eaff751134045ad3415716192baa36f5b9a0","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Cross-platform system's host name functions","homepage":null,"documentation":null,"repository":"https://github.com/fengcen/hostname.git","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":163,"comment_lines":16,"files":3}},"total_code_lines":163,"total_comment_lines":16}},{"id":94097,"crate":"hostname","num":"0.1.5","dl_path":"/api/v1/crates/hostname/0.1.5/download","readme_path":"/api/v1/crates/hostname/0.1.5/readme","updated_at":"2018-05-25T08:11:07.207724Z","created_at":"2018-05-25T08:11:07.207724Z","downloads":6093140,"features":{"unstable":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT","links":{"dependencies":"/api/v1/crates/hostname/0.1.5/dependencies","version_downloads":"/api/v1/crates/hostname/0.1.5/downloads","authors":"/api/v1/crates/hostname/0.1.5/authors"},"crate_size":2365,"published_by":null,"audit_actions":[],"checksum":"21ceb46a83a85e824ef93669c8b390009623863b5c195d1ba747292c0c72f94e","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Get hostname. Compatible with windows and linux, redox.","homepage":"https://github.com/fengcen/hostname","documentation":"https://docs.rs/hostname","repository":"https://github.com/fengcen/hostname.git","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":41,"comment_lines":0,"files":1}},"total_code_lines":41,"total_comment_lines":0}},{"id":74895,"crate":"hostname","num":"0.1.4","dl_path":"/api/v1/crates/hostname/0.1.4/download","readme_path":"/api/v1/crates/hostname/0.1.4/readme","updated_at":"2017-12-19T14:53:09.177345Z","created_at":"2017-12-19T14:53:09.177345Z","downloads":102511,"features":{"unstable":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT","links":{"dependencies":"/api/v1/crates/hostname/0.1.4/dependencies","version_downloads":"/api/v1/crates/hostname/0.1.4/downloads","authors":"/api/v1/crates/hostname/0.1.4/authors"},"crate_size":2362,"published_by":null,"audit_actions":[],"checksum":"58fab6e177434b0bb4cd344a4dabaa5bd6d7a8d792b1885aebcae7af1091d1cb","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Get hostname. Compatible with windows and linux.","homepage":"https://github.com/fengcen/hostname","documentation":"https://docs.rs/hostname","repository":"https://github.com/fengcen/hostname.git","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":41,"comment_lines":0,"files":1}},"total_code_lines":41,"total_comment_lines":0}},{"id":45052,"crate":"hostname","num":"0.1.3","dl_path":"/api/v1/crates/hostname/0.1.3/download","readme_path":"/api/v1/crates/hostname/0.1.3/readme","updated_at":"2017-11-30T03:41:16.180522Z","created_at":"2017-02-09T01:22:44.622973Z","downloads":43776,"features":{"unstable":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT","links":{"dependencies":"/api/v1/crates/hostname/0.1.3/dependencies","version_downloads":"/api/v1/crates/hostname/0.1.3/downloads","authors":"/api/v1/crates/hostname/0.1.3/authors"},"crate_size":1944,"published_by":null,"audit_actions":[],"checksum":"d865f01509e69c001c31b8c341607d93caef4ecf6836ffee39a1702430147943","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Get hostname. Compatible with windows and linux.","homepage":"https://github.com/fengcen/hostname","documentation":"https://docs.rs/hostname","repository":"https://github.com/fengcen/hostname.git","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":41,"comment_lines":0,"files":1}},"total_code_lines":41,"total_comment_lines":0}},{"id":39526,"crate":"hostname","num":"0.1.2","dl_path":"/api/v1/crates/hostname/0.1.2/download","readme_path":"/api/v1/crates/hostname/0.1.2/readme","updated_at":"2017-11-30T04:04:45.793733Z","created_at":"2016-12-13T13:14:55.864645Z","downloads":3422,"features":{"unstable":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT","links":{"dependencies":"/api/v1/crates/hostname/0.1.2/dependencies","version_downloads":"/api/v1/crates/hostname/0.1.2/downloads","authors":"/api/v1/crates/hostname/0.1.2/authors"},"crate_size":1942,"published_by":null,"audit_actions":[],"checksum":"2e425890cfd9070b58e80272f12f4794deb7a9ccd4588b47fdc504240c2baa4c","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Get hostname. Compatible with windows and linux.","homepage":"https://github.com/fengcen/hostname","documentation":"https://docs.rs/hostname","repository":"https://github.com/fengcen/hostname.git","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":41,"comment_lines":0,"files":1}},"total_code_lines":41,"total_comment_lines":0}},{"id":39525,"crate":"hostname","num":"0.1.1","dl_path":"/api/v1/crates/hostname/0.1.1/download","readme_path":"/api/v1/crates/hostname/0.1.1/readme","updated_at":"2017-11-30T04:04:45.786132Z","created_at":"2016-12-13T12:52:38.913527Z","downloads":3150,"features":{"unstable":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT","links":{"dependencies":"/api/v1/crates/hostname/0.1.1/dependencies","version_downloads":"/api/v1/crates/hostname/0.1.1/downloads","authors":"/api/v1/crates/hostname/0.1.1/authors"},"crate_size":1944,"published_by":null,"audit_actions":[],"checksum":"831a403882260e681bd9fc30fd9c288dd1a79c0e09e21dfb1eb84ef54c53d0bd","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Get hostname. Compatible with windows and linux.","homepage":"https://github.com/fengcen/hostname","documentation":"https://docs.rs/hostname","repository":"https://github.com/fengcen/hostname.git","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":41,"comment_lines":0,"files":1}},"total_code_lines":41,"total_comment_lines":0}},{"id":39524,"crate":"hostname","num":"0.1.0","dl_path":"/api/v1/crates/hostname/0.1.0/download","readme_path":"/api/v1/crates/hostname/0.1.0/readme","updated_at":"2017-11-30T04:04:45.778512Z","created_at":"2016-12-13T12:47:54.090323Z","downloads":4266,"features":{"unstable":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT","links":{"dependencies":"/api/v1/crates/hostname/0.1.0/dependencies","version_downloads":"/api/v1/crates/hostname/0.1.0/downloads","authors":"/api/v1/crates/hostname/0.1.0/authors"},"crate_size":1950,"published_by":null,"audit_actions":[],"checksum":"4ec0769853a24baea3c6077b9cb52c2bb0fcb3e828675ee7a1e984a1a3a3c4cb","rust_version":null,"has_lib":true,"bin_names":[],"edition":null,"description":"Get hostname. Compatiable with windows and linux.","homepage":"https://github.com/fengcen/hostname","documentation":"https://docs.rs/hostname","repository":"https://github.com/fengcen/hostname.git","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":41,"comment_lines":0,"files":1}},"total_code_lines":41,"total_comment_lines":0}}],"keywords":[{"id":"gethostname","keyword":"gethostname","created_at":"2019-01-22T20:41:32.563250Z","crates_cnt":2},{"id":"hostname","keyword":"hostname","created_at":"2016-10-10T22:26:11.574702Z","crates_cnt":18},{"id":"sethostname","keyword":"sethostname","created_at":"2019-11-09T07:44:41.339406Z","crates_cnt":1}],"categories":[{"id":"api-bindings","category":"API bindings","slug":"api-bindings","description":"Idiomatic wrappers of specific APIs for convenient access from Rust. Includes HTTP API wrappers as well. Non-idiomatic or unsafe bindings can be found in External FFI bindings.","created_at":"2017-01-17T19:13:05.112025Z","crates_cnt":14621},{"id":"os","category":"Operating systems","slug":"os","description":"Bindings to operating system-specific APIs.","created_at":"2017-01-17T19:13:05.112025Z","crates_cnt":2018}]}