6GYBM53GBTXU6FDRYBU6RPTLPOZQY2DTP5JMQZYV2ORG7G5MASWAC
OCCUJREQJTV42GLCV2U3VXXXOMP3ICLT6IB7FW3PA776VHUQUORQC
use std::path::{Path, PathBuf};
use std::{ ffi::OsString, path::{Path, PathBuf},};
use std::{
ffi::OsString,
path::{Path, PathBuf},
};
let hostname_os: OsString = gethostname::gethostname(); let hostname = hostname_os .to_str() .ok_or_else(|| anyhow::anyhow!("this library currently requires UTF-8 hostnames"))?;
let hostname_os: OsString = gethostname::gethostname();
let hostname = hostname_os
.to_str()
.ok_or_else(|| anyhow::anyhow!("this library currently requires UTF-8 hostnames"))?;
ctx.insert("HOSTNAME", hostname);
gethostname = "0.2"
"gethostname",
name = "gethostname"version = "0.2.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "4addc164932852d066774c405dbbdb7914742d2b39e39e1a7ca949c856d054d1"dependencies = [ "libc", "winapi",][[package]]
name = "gethostname"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4addc164932852d066774c405dbbdb7914742d2b39e39e1a7ca949c856d054d1"
dependencies = [
"libc",
"winapi",
]
[[package]]