Skip to content

Commit

Permalink
Cleanup: remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
missingdays committed Dec 2, 2024
1 parent 8c00c05 commit b72416b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions volo-build/src/grpc_backend.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
use crate::util::{get_base_dir, write_file, write_item};
use itertools::Itertools;
use pilota_build::middle::context::Mode;
use pilota_build::{
db::RirDatabase,
rir,
rir::Method,
tags::protobuf::{ClientStreaming, ServerStreaming},
CodegenBackend, Context, DefId, IdentName, Symbol,
};
use std::io::Write;
use std::path::Path;
use volo::FastStr;

pub struct MkGrpcBackend;
Expand Down
3 changes: 1 addition & 2 deletions volo-build/src/thrift_backend.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
use std::{io::Write, path::Path};
use std::path::Path;

use crate::util::{get_base_dir, write_file, write_item};
use itertools::Itertools;
use pilota_build::{
codegen::thrift::DecodeHelper,
db::RirDatabase,
middle::context::Mode,
rir::{self, Method},
tags::RustWrapperArc,
CodegenBackend, Context, DefId, IdentName, Symbol, ThriftBackend,
Expand Down

0 comments on commit b72416b

Please sign in to comment.