mirror of
https://github.com/YGGverse/titanite.git
synced 2026-04-01 17:45:37 +00:00
use separated mod for system tools
This commit is contained in:
parent
8622fb10b4
commit
1d60db70c9
22 changed files with 44 additions and 43 deletions
|
|
@ -8,7 +8,7 @@ impl Meta {
|
|||
/// Build `Self` from UTF-8 meta bytes
|
||||
/// * expected buffer includes leading status code, message, CRLF
|
||||
pub fn from_bytes(buffer: &[u8]) -> Result<Self> {
|
||||
use crate::Header;
|
||||
use crate::tool::Header;
|
||||
use regex::Regex;
|
||||
use std::str::from_utf8;
|
||||
let h = buffer.header_bytes()?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue