Skip to content

Commit

Permalink
g3-smtp-proto: update handle of text mail message
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-jq-b committed Jun 6, 2024
1 parent 2851cc5 commit aba9bf6
Show file tree
Hide file tree
Showing 6 changed files with 465 additions and 135 deletions.
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion lib/g3-smtp-proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,11 @@ edition.workspace = true
[dependencies]
thiserror.workspace = true
memchr.workspace = true
tokio.workspace = true
tokio = { workspace = true, features = ["io-util"] }
g3-types.workspace = true

[dev-dependencies]
bytes.workspace = true
tokio = { workspace = true, features = ["macros", "io-util", "rt"] }
tokio-util = { workspace = true, features = ["io"] }
tokio-stream.workspace = true
132 changes: 0 additions & 132 deletions lib/g3-smtp-proto/src/io/data.rs

This file was deleted.

7 changes: 5 additions & 2 deletions lib/g3-smtp-proto/src/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
* limitations under the License.
*/

mod data;
pub use data::TextDataReader;
mod text_reader;
pub use text_reader::TextDataReader;

mod text_decoder;
pub use text_decoder::TextDataDecoder;
Loading

0 comments on commit aba9bf6

Please sign in to comment.