Compare commits

..

1 commit

View file

@ -27,9 +27,11 @@ pub async fn describe(
.await
.unwrap();
let bytes = manager.machine_id().await.unwrap();
// convert bytes to hex string
let machine_id = bytes
let machine_id = manager
.machine_id()
.await
.unwrap()
// convert bytes to hex string
.iter()
.map(|&b| format!("{:02x}", b))
.collect::<String>();