Skip to content

Commit

Permalink
fix zip import
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxiujia committed Jan 14, 2022
1 parent e153c7a commit e0b6e72
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ license = "MIT"


[features]
default = ["zip","runtime_cogo"]
default = ["runtime_cogo"]
gzip = ["flate2"]

runtime_thread = []
Expand Down
2 changes: 0 additions & 2 deletions src/plugin/file_split.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ use std::fs::{DirBuilder, DirEntry, File, OpenOptions};
use std::io::{BufRead, BufReader, Seek, SeekFrom, Write, Error};

use chrono::{Local, NaiveDateTime};
use zip::write::FileOptions;

use crate::appender::{Command, FastLogRecord, LogAppender};
use crate::consts::LogSize;
use std::ops::Sub;
use std::time::Duration;
use zip::result::ZipResult;
use crate::error::LogError;
use crate::{chan, Receiver, Sender};

Expand Down

0 comments on commit e0b6e72

Please sign in to comment.