From 5f972ef863b83d060b3ac18eff9bcc3c435a0522 Mon Sep 17 00:00:00 2001 From: Stepan Koltsov Date: Sun, 25 Feb 2024 21:09:58 +0000 Subject: [PATCH] Remove some unused imports --- protobuf-parse/src/pure/convert/mod.rs | 1 - test-crates/protobuf-test-common/src/build.rs | 1 - test-crates/protobuf-test-common/src/text_format_tests.rs | 1 - 3 files changed, 3 deletions(-) diff --git a/protobuf-parse/src/pure/convert/mod.rs b/protobuf-parse/src/pure/convert/mod.rs index cae7fc06e..3bb63f2f2 100644 --- a/protobuf-parse/src/pure/convert/mod.rs +++ b/protobuf-parse/src/pure/convert/mod.rs @@ -3,7 +3,6 @@ mod option_resolver; mod type_resolver; -use protobuf; use protobuf::descriptor::descriptor_proto::ReservedRange; use protobuf::descriptor::enum_descriptor_proto::EnumReservedRange; use protobuf::descriptor::field_descriptor_proto; diff --git a/test-crates/protobuf-test-common/src/build.rs b/test-crates/protobuf-test-common/src/build.rs index 6e013b7da..ae35d07bf 100644 --- a/test-crates/protobuf-test-common/src/build.rs +++ b/test-crates/protobuf-test-common/src/build.rs @@ -8,7 +8,6 @@ use std::io::Write; use std::path::Path; use anyhow::Context; -use glob; use log::debug; pub use protobuf_codegen::Customize; diff --git a/test-crates/protobuf-test-common/src/text_format_tests.rs b/test-crates/protobuf-test-common/src/text_format_tests.rs index cf67d8d5e..347e36d10 100644 --- a/test-crates/protobuf-test-common/src/text_format_tests.rs +++ b/test-crates/protobuf-test-common/src/text_format_tests.rs @@ -13,7 +13,6 @@ use protobuf::text_format::merge_from_str; use protobuf::text_format::print_to_string; use protobuf::Message; use protobuf::MessageDyn; -use tempfile; pub fn parse_using_rust_protobuf( text: &str,