misc: vhost_user_block: 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:15 +02:00 committed by Rob Bradford
parent 29e8a242b6
commit 1f70e20c17
2 changed files with 1 additions and 3 deletions

View file

@ -21,7 +21,7 @@ use std::{convert, io, process, result};
use block::qcow::{self, ImageType, QcowFile};
use block::{Request, VirtioBlockConfig, build_serial};
use libc::EFD_NONBLOCK;
use log::*;
use log::{debug, error, info};
use option_parser::{OptionParser, OptionParserError, Toggle};
use thiserror::Error;
use vhost::vhost_user::Listener;

View file

@ -8,8 +8,6 @@
//
// SPDX-License-Identifier: (Apache-2.0 AND BSD-3-Clause)
extern crate vhost_user_block;
use clap::{Arg, Command};
use vhost_user_block::start_block_backend;