misc: tpm: drop extern crate, use modern rust

This commit is part of a series of similar commits.

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2025-09-05 09:21:07 +02:00
committed by Rob Bradford
parent 7de45b3a75
commit d32b2dc137
3 changed files with 2 additions and 3 deletions
+1
View File
@@ -9,6 +9,7 @@ use std::{mem, ptr};
use anyhow::anyhow;
use libc::{c_void, sockaddr_storage, socklen_t};
use log::{debug, error};
use thiserror::Error;
use crate::socket::SocketDev;